forked from bartvdbraak/blender
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:
parent
d2a741048a
commit
1db677a51c
@ -352,7 +352,8 @@ void ExecutionGroup::execute(ExecutionSystem *graph)
|
||||
startEvaluated = true;
|
||||
numberEvaluated++;
|
||||
|
||||
bTree->update_draw(bTree->udh);
|
||||
if (bTree->update_draw)
|
||||
bTree->update_draw(bTree->udh);
|
||||
}
|
||||
else if (state == COM_ES_SCHEDULED) {
|
||||
finished = false;
|
||||
|
@ -248,7 +248,8 @@ public:
|
||||
}
|
||||
|
||||
inline void updateDraw() {
|
||||
this->m_btree->update_draw(this->m_btree->udh);
|
||||
if (this->m_btree->update_draw)
|
||||
this->m_btree->update_draw(this->m_btree->udh);
|
||||
}
|
||||
protected:
|
||||
NodeOperation();
|
||||
|
Loading…
Reference in New Issue
Block a user