Changeset 1068 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerTest.cpp
- Timestamp:
- 03/07/08 16:15:33 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerTest.cpp
r1042 r1068 55 55 CHECK(nrp->getWeakRefCount() == 0); 56 56 57 OSG::UInt32 node_id = getContainerId(nrp);57 OSG::UInt32 node_id = nrp->getId(); 58 58 CHECK(OSG::FieldContainerFactory::the()->getContainer(node_id) == nrp); 59 59 … … 146 146 // Check to make sure the memory is cleaned up correctly with an FCPtr 147 147 OSG::NodeRefPtr node(OSG::Node::create()); 148 OSG::UInt32 node_id = OSG::getContainerId(node.get());148 OSG::UInt32 node_id = node.get()->getId(); 149 149 OSG::Int32 ref_count = getRefCount(node.get()); 150 150 OSG::commitChanges(); … … 204 204 OSG::UInt32 kids = node->getNChildren(); 205 205 206 OSG::UInt32 node_id = OSG::getContainerId(node);206 OSG::UInt32 node_id = node->getId(); 207 207 CHECK(OSG::FieldContainerFactory::the()->getContainer(node_id) != OSGNullFC); 208 208 OSG::UInt8* base_ptr = node._storeP; … … 228 228 OSG::NodePtr node(OSG::Node::create()); 229 229 OSG::NodePtr node_copy = node; 230 OSG::UInt32 node_id = OSG::getContainerId(node);230 OSG::UInt32 node_id = node->getId(); 231 231 CHECK(OSG::FieldContainerFactory::the()->getContainer(node_id) != OSGNullFC); 232 232
