Show
Ignore:
Timestamp:
07/03/09 07:54:27 (5 years ago)
Author:
robert
Message:

Added TrackballDragger? code path

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp

    r10444 r10448  
    5757 
    5858#include <osgManipulator/TabBoxDragger> 
     59#include <osgManipulator/TabPlaneTrackballDragger> 
     60#include <osgManipulator/TrackballDragger> 
    5961 
    6062#include <osg/io_utils> 
     
    827829        case osgManipulator::MotionCommand::FINISH: 
    828830        { 
    829             _volume->setDirty(true); 
    830  
    831831            return true; 
    832832        } 
     
    14711471            osg::ref_ptr<osg::Group> group = new osg::Group; 
    14721472 
    1473             osg::ref_ptr<osgManipulator::TabBoxDragger> dragger = new osgManipulator::TabBoxDragger; 
     1473#if 1 
     1474            osg::ref_ptr<osgManipulator::Dragger> dragger = new osgManipulator::TabBoxDragger; 
     1475#else 
     1476            osg::ref_ptr<osgManipulator::Dragger> dragger = new osgManipulator::TrackballDragger(); 
     1477#endif 
    14741478            dragger->setupDefaultGeometry(); 
    14751479            dragger->setHandleEvents(true);