Added UFO Manipulator to Viewer

This commit is contained in:
Don BURNS
2005-03-11 06:10:07 +00:00
parent 2601412135
commit fd84431d36

View File

@@ -11,6 +11,7 @@
#include <osgGA/FlightManipulator>
#include <osgGA/DriveManipulator>
#include <osgGA/TerrainManipulator>
#include <osgGA/UFOManipulator>
#include <osgGA/StateSetManipulator>
#include <osgProducer/Viewer>
@@ -491,6 +492,7 @@ void Viewer::setUpViewer(unsigned int options)
if (options&FLIGHT_MANIPULATOR) addCameraManipulator(new osgGA::FlightManipulator);
if (options&DRIVE_MANIPULATOR) addCameraManipulator(new osgGA::DriveManipulator);
if (options&TERRAIN_MANIPULATOR) addCameraManipulator(new osgGA::TerrainManipulator);
if (options&UFO_MANIPULATOR) addCameraManipulator(new osgGA::UFOManipulator);
if (options&STATE_MANIPULATOR)
{