Added overriding of CullSettings::inheritCullSettings() into osg::Camera to

properly inherit the clear colour.
This commit is contained in:
Robert Osfield
2008-06-16 20:22:16 +00:00
parent 4e7dd7f0db
commit 7cfe00d3d9
4 changed files with 22 additions and 2 deletions

View File

@@ -508,6 +508,9 @@ class OSG_EXPORT Camera : public Transform, public CullSettings
/** Transform method that must be defined to provide generic interface for scene graph traversals.*/
virtual bool computeWorldToLocalMatrix(Matrix& matrix,NodeVisitor*) const;
/** Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.*/
virtual void inheritCullSettings(const CullSettings& settings, unsigned int inheritanceMask);
protected :
virtual ~Camera();