- Timestamp:
- 05/05/08 07:12:19 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Contrib/BackgroundLoader/testBackgroundLoader.cpp
r1169 r1198 44 44 i++) 45 45 { 46 OSG::FieldContainer Ptrfcp =46 OSG::FieldContainer *fcp = 47 47 OSG::FieldContainerFactory::the()->getContainer(i); 48 48 49 if (fcp != N ullFC)49 if (fcp != NULL) 50 50 { 51 51 num_allocated_fcs += 1; … … 64 64 { 65 65 std::cerr << "ERROR: path does not exist: " << dirname << std::endl; 66 gScene = NodePtr(NullFC);66 gScene = static_cast<Node *>(NULL); 67 67 osgExit(); 68 68 exit(-1); … … 99 99 { 100 100 std::cout << "Specify a directory to load models from." << std::endl; 101 gScene = NodePtr(NullFC);101 gScene = static_cast<Node *>(NULL); 102 102 osgExit(); 103 103 exit(-1); … … 187 187 { 188 188 delete mgr; 189 gScene = NodePtr(NullFC);189 gScene = static_cast<Node *>(NULL); 190 190 OSG::osgExit(); 191 191 exit(0);
