+ fixes #0001889: Crash when undoing move of base object of a part fillet

This commit is contained in:
wmayer
2015-01-01 21:05:19 +01:00
parent b062276c00
commit d0af6efecb
3 changed files with 15 additions and 3 deletions

View File

@@ -86,9 +86,13 @@ App::DocumentObjectExecReturn *Compound::execute(void)
}
this->Shape.setValue(comp);
// make sure the 'PropertyShapeHistory' is not safed in undo/redo (#0001889)
PropertyShapeHistory prop;
prop.setContainer(this);
prop.setValues(history);
prop.setContainer(this);
prop.touch();
return App::DocumentObject::StdReturn;
}
catch (Standard_Failure) {