diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-07 01:06:46 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-07 02:09:31 +0300 |
commit | 1657fa039dcbf969b5e514ab77d72880817a7f9e (patch) | |
tree | f01967b94548d09d00639f74d5fc16ff29cf0707 /source/blender/compositor/intern/COM_ExecutionModel.cc | |
parent | f49f406f679c516478b0f7fa6eac5443012e2fa5 (diff) |
Compositor: Fix crash when executing works in constant folding
Work scheduler needed initialization and execution models are
not created during constant folding. This moves work execution
method to execution system.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionModel.cc')
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionModel.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionModel.cc b/source/blender/compositor/intern/COM_ExecutionModel.cc index 4d7f62e091b..b75b277e92c 100644 --- a/source/blender/compositor/intern/COM_ExecutionModel.cc +++ b/source/blender/compositor/intern/COM_ExecutionModel.cc @@ -39,10 +39,4 @@ ExecutionModel::ExecutionModel(CompositorContext &context, Span<NodeOperation *> border_.render_border = &rd->border; } -bool ExecutionModel::is_breaked() const -{ - const bNodeTree *btree = context_.getbNodeTree(); - return btree->test_break(btree->tbh); -} - } // namespace blender::compositor |