Show
Ignore:
Timestamp:
05/05/08 07:12:19 (3 months ago)
Author:
vossg
Message:

changed: interface cleanup, removed ptr typedefs, nullfc

these will be needed for the 1.x compat stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Contrib/BackgroundLoader/testBackgroundLoader.cpp

    r1169 r1198  
    4444                   i++) 
    4545   { 
    46        OSG::FieldContainerPtr fcp =  
     46       OSG::FieldContainer *fcp =  
    4747           OSG::FieldContainerFactory::the()->getContainer(i); 
    4848 
    49       if (fcp != NullFC
     49      if (fcp != NULL
    5050      { 
    5151         num_allocated_fcs += 1; 
     
    6464   {  
    6565      std::cerr << "ERROR: path does not exist: " << dirname << std::endl;  
    66       gScene = NodePtr(NullFC); 
     66      gScene = static_cast<Node *>(NULL); 
    6767      osgExit(); 
    6868      exit(-1); 
     
    9999    { 
    100100       std::cout << "Specify a directory to load models from." << std::endl; 
    101        gScene = NodePtr(NullFC); 
     101       gScene = static_cast<Node *>(NULL); 
    102102       osgExit(); 
    103103       exit(-1); 
     
    187187        { 
    188188            delete mgr; 
    189             gScene = NodePtr(NullFC); 
     189            gScene = static_cast<Node *>(NULL); 
    190190            OSG::osgExit(); 
    191191            exit(0);