diff --git a/src/Mod/Assembly/Gui/Command.cpp b/src/Mod/Assembly/Gui/Command.cpp index 65d004f72f..b626b2e66b 100644 --- a/src/Mod/Assembly/Gui/Command.cpp +++ b/src/Mod/Assembly/Gui/Command.cpp @@ -82,7 +82,7 @@ void CmdAssemblyAddNewPart::activated(int iMsg) Command::addModule(App,"PartDesign"); Command::addModule(Gui,"PartDesignGui"); -#if 0 // test code for children nesting +#if 1 // test code for children nesting Command::addModule(App,"Part"); std::string BodyName = getUniqueObjectName("Box"); doCommand(Doc,"App.activeDocument().addObject('Part::Box','%s')",BodyName.c_str()); diff --git a/src/Mod/Assembly/Gui/ViewProvider.h b/src/Mod/Assembly/Gui/ViewProvider.h index a28bb51a38..e3462c28cc 100644 --- a/src/Mod/Assembly/Gui/ViewProvider.h +++ b/src/Mod/Assembly/Gui/ViewProvider.h @@ -40,6 +40,8 @@ public: /// destructor virtual ~ViewProviderItem(); + virtual bool useNewSelectionModel(void) const {return false;} + // returns the root node where the children gets collected(3D) virtual SoGroup* getChildRoot(void) const {return pcChildren;}