Changed the setUpViewer so it takes unisigned int to make it easier to
do OR'ing of the various enumerates when passing in paramters (avoids a warning).
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user