From Stephan Huber, "the IncrementalCompileOperation-class throws away compiled compile-sets,
when no compileCompletedCallback is set. Attached you'll find a simple fix for this bug."
This commit is contained in:
parent
d1a3350af0
commit
f2f085bc3f
@ -410,9 +410,9 @@ void IncrementalCompileOperation::operator () (osg::GraphicsContext* context)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (csCompleted && cs->_compileCompletedCallback.valid())
|
if (csCompleted)
|
||||||
{
|
{
|
||||||
if (cs->_compileCompletedCallback->compileCompleted(cs))
|
if (cs->_compileCompletedCallback.valid() && cs->_compileCompletedCallback->compileCompleted(cs))
|
||||||
{
|
{
|
||||||
// callback will handle merging of subgraph so no need to place CompileSet in merge.
|
// callback will handle merging of subgraph so no need to place CompileSet in merge.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user