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:
Robert Osfield
2007-12-10 20:30:05 +00:00
parent 9d260213f7
commit c5704586f9
3 changed files with 11 additions and 25 deletions

View File

@@ -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;