streamline DatabasePager::requiresUpdateSceneGraph()

would trigger unnecessary redraws when there were pending file requests or active database threads

tested ok with and without IncrementalCompileOperation
This commit is contained in:
Philippe Renon
2016-07-03 17:31:07 +02:00
parent 935a5c4e22
commit e23a30652d
3 changed files with 8 additions and 7 deletions

View File

@@ -1135,7 +1135,7 @@ bool View::requiresUpdateSceneGraph() const
// check if there are camera update callbacks
if (_camera->getUpdateCallback()) return true;
// check if there scene requires an update traversal
// check if the scene requires an update traversal
if (_scene.valid() && _scene->requiresUpdateSceneGraph()) return true;
return false;