diff --git a/include/osgProducer/Viewer b/include/osgProducer/Viewer index 030bf6ed9..6d93efd36 100644 --- a/include/osgProducer/Viewer +++ b/include/osgProducer/Viewer @@ -56,7 +56,7 @@ class OSGPRODUCER_EXPORT Viewer : public CameraGroup, public osgGA::GUIActionAda HEAD_LIGHT_SOURCE }; - void setUpViewer(ViewerOptions options=STANDARD_SETTINGS); + void setUpViewer(unsigned int options=STANDARD_SETTINGS); bool done() const { return _done; } diff --git a/src/osgProducer/Viewer.cpp b/src/osgProducer/Viewer.cpp index dd7da4979..a5aea169d 100644 --- a/src/osgProducer/Viewer.cpp +++ b/src/osgProducer/Viewer.cpp @@ -34,7 +34,7 @@ Viewer::Viewer(const std::string& configFile): { } -void Viewer::setUpViewer(Viewer::ViewerOptions options) +void Viewer::setUpViewer(unsigned int options) { // set up the keyboard and mouse handling.