Changeset 20564

Show
Ignore:
Timestamp:
07/18/07 16:40:47 (1 year ago)
Author:
patrick
Message:

Account for Open Scene Graph 2.0.

Submitted by: Doug McCorkle? < mccdo at iastate dot edu >

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/vrj/Draw/OSG/App.h

    r20495 r20564  
    353353      const double head_time(mHead->getTimeStamp().secd()); 
    354354      mFrameStamp->setReferenceTime(head_time); 
    355 #if OSG_VERSION_MAJOR >= 1 && OSG_VERSION_MINOR > 2 
     355#if OSG_VERSION_MAJOR == 1 && OSG_VERSION_MINOR > 2 || OSG_MAJOR_VERSION > 2 
     356      // This is available in OSG 1.9 and newer. 
    356357      mFrameStamp->setSimulationTime(head_time); 
    357358#endif