PartDesign changes

* Mostly for supporting in-place editing

* Add new SubShapeBinder that support cross coordinate system,
  external, and sub-object binding
This commit is contained in:
Zheng, Lei
2019-07-13 18:13:21 +08:00
committed by wmayer
parent 11321bb996
commit cd2b7e297c
55 changed files with 1944 additions and 755 deletions

View File

@@ -59,7 +59,8 @@ bool ViewProviderMultiTransform::onDelete(const std::vector<std::string> &svec)
{
if ((*it) != NULL)
Gui::Command::doCommand(
Gui::Command::Doc,"App.ActiveDocument.removeObject(\"%s\")", (*it)->getNameInDocument());
Gui::Command::Doc,"App.getDocument('%s').removeObject(\"%s\")", \
(*it)->getDocument()->getName(), (*it)->getNameInDocument());
}
// Handle Originals