Mesh: Make colors persistent if meshing option 'Apply face colors to mesh' is used
This commit is contained in:
@@ -511,6 +511,14 @@ void ViewProviderMesh::updateData(const App::Property* prop)
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderMesh::finishRestoring()
|
||||
{
|
||||
if (Coloring.getValue()) {
|
||||
Coloring.touch();
|
||||
}
|
||||
Gui::ViewProviderGeometryObject::finishRestoring();
|
||||
}
|
||||
|
||||
QIcon ViewProviderMesh::getIcon() const
|
||||
{
|
||||
static QIcon icon = Gui::BitmapFactory().pixmap("Mesh_Tree");
|
||||
|
||||
Reference in New Issue
Block a user