Changeset 20566

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

MFT r20564: Account for Open Scene Graph 2.0.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.0/modules/vrjuggler/vrj/Draw/OSG/OsgApp.h

    r20145 r20566  
    266266      const double head_time(mHead->getTimeStamp().secd()); 
    267267      mFrameStamp->setReferenceTime(head_time); 
    268 #if OSG_VERSION_MAJOR >= 1 && OSG_VERSION_MINOR > 2 
     268#if OSG_VERSION_MAJOR == 1 && OSG_VERSION_MINOR > 2 || OSG_MAJOR_VERSION > 2 
     269      // This is available in OSG 1.9 and newer. 
    269270      mFrameStamp->setSimulationTime(head_time); 
    270271#endif