From Richard Schmidt, "attached you will find a set of small fixes and features.
CullVisitor/SceneView: *Feature: This version supports multiple clearnodes in the graph, one per renderstage. Text: *Feature: Performance Enhancement when calling SetBackdropColor Material: *Fix: OpenGL calls are now made according to the OpenGL Standard "
This commit is contained in:
@@ -92,9 +92,6 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
|
||||
virtual void apply(osg::Camera& node);
|
||||
virtual void apply(osg::OccluderNode& node);
|
||||
|
||||
void setClearNode(const osg::ClearNode* earthSky) { _clearNode = earthSky; }
|
||||
const osg::ClearNode* getClearNode() const { return _clearNode.get(); }
|
||||
|
||||
/** Push state set on the current state group.
|
||||
* If the state exists in a child state group of the current
|
||||
* state group then move the current state group to that child.
|
||||
@@ -286,8 +283,6 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
|
||||
else acceptNode->accept(*this);
|
||||
}
|
||||
|
||||
osg::ref_ptr<const osg::ClearNode> _clearNode;
|
||||
|
||||
osg::ref_ptr<StateGraph> _rootStateGraph;
|
||||
StateGraph* _currentStateGraph;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user