fix for reset the color information on changing the base mesh

This commit is contained in:
jriegel 2014-02-16 14:31:42 +01:00
parent 2d511524ac
commit aa6bafa222

View File

@ -362,6 +362,8 @@ void ViewProviderFemMesh::updateData(const App::Property* prop)
{
if (prop->isDerivedFrom(Fem::PropertyFemMesh::getClassTypeId())) {
ViewProviderFEMMeshBuilder builder;
resetColorByNodeId();
resetDisplacementByNodeId();
builder.createMesh(prop, pcCoords, pcFaces, pcLines,vFaceElementIdx,vNodeElementIdx, ShowInner.getValue());
}
Gui::ViewProviderGeometryObject::updateData(prop);