Show
Ignore:
Timestamp:
03/17/03 10:51:19 (11 years ago)
Author:
robert
Message:

break from osgcluster main loop added for when the master send a killed
messsage to slaves.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp

    r1704 r1706  
    161161    viewer.realize(Producer::CameraGroup::ThreadPerCamera); 
    162162 
     163    // objects for managing the broadcasting and recieving of camera packets. 
    163164    Broadcaster     bc; 
    164165    Receiver        rc; 
     
    208209                { 
    209210                    std::cout << "recieved master killed"<<std::endl; 
    210                     viewerMode = STAND_ALONE; 
     211                    // break out of while (!done) loop since we've now want to shut down. 
     212                    break; 
    211213                } 
    212214            } 
     
    217219        } 
    218220          
    219           
    220221        // fire off the cull and draw traversals of the scene. 
    221222        viewer.frame();