+ handling of colored mesh in view provider

This commit is contained in:
wmayer
2016-01-03 01:16:00 +01:00
parent dd9e8c5bb1
commit b6faaefaf8
3 changed files with 31 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ void ViewProviderMeshFaceSet::attach(App::DocumentObject *pcFeat)
void ViewProviderMeshFaceSet::updateData(const App::Property* prop)
{
Gui::ViewProviderGeometryObject::updateData(prop);
ViewProviderMesh::updateData(prop);
if (prop->getTypeId() == Mesh::PropertyMeshKernel::getClassTypeId()) {
const Mesh::MeshObject* mesh = static_cast<const Mesh::PropertyMeshKernel*>(prop)->getValuePtr();