Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer control of when the rendering subgraphs are done.
This commit is contained in:
@@ -87,5 +87,9 @@ void Dialog::createGraphicsImplementation()
|
||||
style->setupDialogStateSet(getOrCreateStateSet());
|
||||
style->setupClipStateSet(dialogWithTileExtents, getOrCreateStateSet());
|
||||
|
||||
setGraphicsSubgraph(_group.get());
|
||||
// render before the subgraph
|
||||
setGraphicsSubgraph(-1, _group.get());
|
||||
|
||||
// render after the subgraph
|
||||
setGraphicsSubgraph(1, style->createDepthSetPanel(dialogWithTileExtents));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user