Changeset 213 for osgVisual/trunk/src
- Timestamp:
- Jan 30, 2011, 8:47:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/core/visual_core.cpp
r212 r213 545 545 if(trackedObject) 546 546 { 547 if(trackedObject->getGeometry())548 node = trackedObject->getGeometry();549 else550 node = trackedObject;547 node = trackedObject; 548 // Object mounted manipulator ( Only working with visual_object, not with osg::Node ) 549 if (objectMountedCameraManip.valid()) 550 objectMountedCameraManip->setAttachedObject( trackedObject ); 551 551 } 552 552 else 553 553 node = node_; 554 554 555 // Object mounted manipulator556 if (objectMountedCameraManip.valid())557 objectMountedCameraManip->setAttachedObject( node );558 559 555 // Spacemouse Node Tracker 560 556 #ifdef USE_SPACENAVIGATOR
Note: See TracChangeset
for help on using the changeset viewer.