Final render wouldn't set compositor's update_draw callback, so added NULL check

Seems no extra notifiers should be added here.
This commit is contained in:
Sergey Sharybin 2012-11-30 11:26:57 +00:00
parent d2a741048a
commit 1db677a51c
2 changed files with 4 additions and 2 deletions

@ -352,6 +352,7 @@ void ExecutionGroup::execute(ExecutionSystem *graph)
startEvaluated = true;
numberEvaluated++;
if (bTree->update_draw)
bTree->update_draw(bTree->udh);
}
else if (state == COM_ES_SCHEDULED) {

@ -248,6 +248,7 @@ public:
}
inline void updateDraw() {
if (this->m_btree->update_draw)
this->m_btree->update_draw(this->m_btree->udh);
}
protected: