Changeset 20100

Show
Ignore:
Timestamp:
05/02/07 06:58:03 (2 years ago)
Author:
patrick
Message:

If vrj::Kernel::init() is not called, the mClusterManager will be NULL in
the kernel control loop. This may be done on purpose, but since most of the
test and sample applications have not been updated to call
vrj::Kernel::init(), I think that having some sort of shim in place—even if
it is only temporary—would be helpful.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/vrj/Kernel/Kernel.cpp

    r20069 r20100  
    203203   mIsRunning = true; 
    204204   initSignalButtons();    // Initialize the signal buttons that may be pressed 
     205 
     206   if ( NULL == mClusterManager ) 
     207   { 
     208      mClusterManager = cluster::ClusterManager::instance(); 
     209   } 
    205210 
    206211   // If we are in cluster mode, start the cluster.