Fixed the handling of setLightingMode and inheritCullSettings so that it properly manages the GL_LIGHTING mode

This commit is contained in:
Robert Osfield
2009-01-28 09:23:26 +00:00
parent a51e95222d
commit d2d89498ad
2 changed files with 30 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
typedef Options LightingMode;
void setLightingMode(LightingMode mode) { _lightingMode=mode; }
void setLightingMode(LightingMode mode);
LightingMode getLightingMode() const { return _lightingMode; }
void setLight(osg::Light* light) { _light = light; }