Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer control of when the rendering subgraphs are done.

This commit is contained in:
Robert Osfield
2014-05-28 10:06:14 +00:00
parent 6af9edf33b
commit 1fcb91900a
13 changed files with 83 additions and 31 deletions

View File

@@ -38,5 +38,5 @@ void Label::createGraphicsImplementation()
_textDrawable = dynamic_cast<osgText::Text*>(node.get());
style->setupClipStateSet(_extents, getOrCreateStateSet());
setGraphicsSubgraph(node.get());
setGraphicsSubgraph(0, node.get());
}