Added overriding of CullSettings::inheritCullSettings() into osg::Camera to
properly inherit the clear colour.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <osg/Camera>
|
||||
#include <osg/ColorMask>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/CullSettings>
|
||||
#include <osg/DisplaySettings>
|
||||
#include <osg/GraphicsContext>
|
||||
#include <osg/GraphicsThread>
|
||||
@@ -637,6 +638,11 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"Transform method that must be defined to provide generic interface for scene graph traversals. ",
|
||||
"");
|
||||
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
|
||||
Properties::VIRTUAL,
|
||||
__void__inheritCullSettings__C5_CullSettings_R1__unsigned_int,
|
||||
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, AllowEventFocus,
|
||||
__bool__getAllowEventFocus,
|
||||
__void__setAllowEventFocus__bool);
|
||||
|
||||
Reference in New Issue
Block a user