Added a viewer.sync to the end of all the demos.

Removed the Win32 remapping of keycodes from the osgProducer::EventAdapter.
This commit is contained in:
Robert Osfield
2003-03-25 10:05:09 +00:00
parent 05681b8eda
commit 35e0ba12bc
34 changed files with 199 additions and 138 deletions

View File

@@ -10,10 +10,6 @@
#include <osg/Billboard>
#include <osg/Material>
#include <osgGA/TrackballManipulator>
#include <osgGA/FlightManipulator>
#include <osgGA/DriveManipulator>
#include <osgUtil/TransformCallback>
#include <osgUtil/SmoothingVisitor>
@@ -663,6 +659,9 @@ int main( int argc, char **argv )
viewer.frame();
}
// wait for all cull and draw threads to complete before exit.
viewer.sync();
delete g_pPixelBuffer;