Show
Ignore:
Timestamp:
03/01/15 12:08:58 (less than one hour ago)
Author:
robert
Message:

From Jannik Heller, "I noticed the rotation in the OrbitManipulator? depends on the framerate. To reproduce this issue, start the osganimate example, rotate the model with the left mouse button, then let go of the mouse button while still moving. You will notice that with V-Sync enabled, the model rotates slower.

The OrbitManipulator? calculates a scale to counteract the framerate dependency, but it turns out this scale wasn't used for the rotation yet."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/p3d/ReaderWriterP3D.cpp

    r13331 r13376  
    14201420        keyValue = itr->second; 
    14211421    } 
    1422     if (key.find("0x",0,2)!=std::string::npos) 
     1422    else if (key.find("0x",0,2)!=std::string::npos) 
    14231423    { 
    14241424        std::istringstream iss(key); 
     
    14391439    else 
    14401440    { 
    1441         OSG_NOTICE<<"Warning: invalid key used in <key>"<<key<<"</key>, ignoring tag."<<std::endl; 
     1441        OSG_NOTICE<<"Warning: invalid key used in <key>"<<key<<"</key>, ignoring tag. key=["<<key<<"]"<<std::endl; 
    14421442        return false; 
    14431443    }