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 b0631b059c
commit 851e999eac
2 changed files with 5 additions and 0 deletions

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);
}