Refactored the way the Scene is used in Viewer and CompositeViewer to ensure
that only on Scene exists per scene graph.
This commit is contained in:
@@ -133,3 +133,18 @@ void RunOperations::operator () (osg::GraphicsContext* context)
|
||||
{
|
||||
context->runOperations();
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// EndOfDynamicDrawBlock
|
||||
//
|
||||
EndOfDynamicDrawBlock::EndOfDynamicDrawBlock(unsigned int numberOfBlocks):
|
||||
BlockCount(numberOfBlocks)
|
||||
{
|
||||
}
|
||||
|
||||
void EndOfDynamicDrawBlock::completed(osg::State* /*state*/)
|
||||
{
|
||||
BlockCount::completed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user