Changeset 4444 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc
- Timestamp:
- Jun 1, 2005, 10:17:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/null_parent.cc
r4441 r4444 26 26 NullParent* NullParent::getInstance () 27 27 { 28 if(! singletonRef)29 singletonRef = new NullParent ();30 return singletonRef;28 if(!NullParent::singletonRef) 29 NullParent::singletonRef = new NullParent (); 30 return NullParent::singletonRef; 31 31 } 32 32 … … 35 35 this->setName("NullParent"); 36 36 this->setClassID(CL_NULL_PARENT, "NullParent"); 37 singletonRef = this;38 this->set Mode(PNODE_ALL);37 NullParent::singletonRef = this; 38 this->setParentMode(PNODE_ALL); 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.