0000545: Undo revolve causes crash illegal storage, fix disappearing shape after undo/redo

This commit is contained in:
wmayer 2012-09-21 13:05:37 +02:00
parent 08e6bc0e6a
commit 065213f9bd
2 changed files with 5 additions and 0 deletions

View File

@ -578,6 +578,7 @@ void ViewProviderPartExt::updateVisual(const TopoDS_Shape& inputShape)
faceset ->coordIndex .setNum(0);
faceset ->partIndex .setNum(0);
lineset ->coordIndex .setNum(0);
nodeset ->startIndex .setValue(0);
VisualTouched = false;
return;
}

View File

@ -58,5 +58,9 @@ void ViewProvider::updateData(const App::Property* prop)
strcmp(prop->getName(),"AddShape") == 0) {
return;
}
if (prop->getTypeId() == Part::PropertyPartShape::getClassTypeId() &&
strcmp(prop->getName(),"SubShape") == 0) {
return;
}
inherited::updateData(prop);
}