Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer control of when the rendering subgraphs are done.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user