-//=======================================================================
-// function : GetPrimitiveGUI()
-// purpose : Get the only PrimitiveGUI object [ static ]
-//=======================================================================
-PrimitiveGUI* PrimitiveGUI::GetPrimitiveGUI( GeometryGUI* parent )
-{
- if ( myGUIObject == 0 ) {
- // init PrimitiveGUI only once
- myGUIObject = new PrimitiveGUI( parent );
- }
- return myGUIObject;
-}