From b86c87d1a86ce9188ea7fae428e80d356bfc8d71 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 26 Apr 2012 10:07:36 +0000 Subject: [PATCH] From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated --- examples/osgautocapture/osgautocapture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/osgautocapture/osgautocapture.cpp b/examples/osgautocapture/osgautocapture.cpp index 9638c69b4..4a16ac8aa 100644 --- a/examples/osgautocapture/osgautocapture.cpp +++ b/examples/osgautocapture/osgautocapture.cpp @@ -348,6 +348,8 @@ int main( int argc, char **argv ) keyswitchManipulator->addMatrixManipulator( '2', "Flight", new osgGA::FlightManipulator() ); keyswitchManipulator->addMatrixManipulator( '3', "Drive", new osgGA::DriveManipulator() ); keyswitchManipulator->addMatrixManipulator( '4', "Terrain", new osgGA::TerrainManipulator() ); + + viewer.setCameraManipulator( keyswitchManipulator.get() ); }