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 e911b69769
commit 11a93a0578
55 changed files with 1944 additions and 755 deletions

View File

@@ -26,6 +26,7 @@
#ifndef _PreComp_
#endif
#include <App/Document.h>
#include "ViewProviderBase.h"
#include <Mod/PartDesign/App/FeatureBase.h>
#include <Gui/Command.h>
@@ -58,8 +59,7 @@ bool ViewProviderBase::doubleClicked(void)
std::string Msg("Edit ");
Msg += base->Label.getValue();
Gui::Command::openCommand(Msg.c_str());
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().setEdit('%s',0)",
base->getNameInDocument());
FCMD_SET_EDIT(base);
}
catch (const Base::Exception&) {
Gui::Command::abortCommand();