testing selection
This commit is contained in:
parent
ea57c04117
commit
e5c4d2aa70
|
@ -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());
|
||||
|
|
|
@ -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;}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user