First claimChildren3D implementation and Starting PartItem implementation
This commit is contained in:
@@ -24,22 +24,29 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Inventor/nodes/SoGroup.h>
|
||||
#endif
|
||||
|
||||
#include "ViewProvider.h"
|
||||
#include <Gui/Command.h>
|
||||
//#include <Gui/Document.h>
|
||||
|
||||
|
||||
using namespace AssemblyGui;
|
||||
|
||||
PROPERTY_SOURCE(AssemblyGui::ViewProviderItem,PartGui::ViewProviderPart)
|
||||
|
||||
ViewProviderItem::ViewProviderItem()
|
||||
{
|
||||
pcChildren = new SoGroup();
|
||||
pcChildren->ref();
|
||||
|
||||
}
|
||||
|
||||
ViewProviderItem::~ViewProviderItem()
|
||||
{
|
||||
pcChildren->unref();
|
||||
pcChildren = 0;
|
||||
}
|
||||
|
||||
bool ViewProviderItem::doubleClicked(void)
|
||||
|
||||
Reference in New Issue
Block a user