Added continuous recording of the animation path to the RecordAnimationPathHandler

This commit is contained in:
Robert Osfield
2008-05-26 17:30:43 +00:00
parent 7592e50cde
commit cac6e2facb
4 changed files with 35 additions and 12 deletions

View File

@@ -22,6 +22,8 @@
#include <osgViewer/GraphicsWindow>
#include <osgViewer/Viewer>
#include <fstream>
namespace osgViewer {
/** Event handler for adding on screen help to Viewers.*/
@@ -241,6 +243,7 @@ public:
protected:
std::string _filename;
std::ofstream _fout;
int _keyEventToggleRecord;
int _keyEventTogglePlayback;