Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-08-14 15:05:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-14 15:05:26 +0400
commit9fd6c535cabbcf4ec12c21bc9229c94944bc6c91 (patch)
tree35d589545700387c79b403cce898981edd5e06e5 /source/blender/compositor/intern/COM_ExecutionGroup.cpp
parentf2074949e7a3dbf3a1dc5b51a0a3eee0eee9aada (diff)
fix [#32324] regression: node group with missing ID crashes new tile node system.
node groups with no ID now output magenta so it doesnt silently fail.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionGroup.cpp')
-rw-r--r--source/blender/compositor/intern/COM_ExecutionGroup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.cpp b/source/blender/compositor/intern/COM_ExecutionGroup.cpp
index 30875afcb3f..9a80c5e82ae 100644
--- a/source/blender/compositor/intern/COM_ExecutionGroup.cpp
+++ b/source/blender/compositor/intern/COM_ExecutionGroup.cpp
@@ -99,6 +99,9 @@ bool ExecutionGroup::canContainOperation(NodeOperation *operation)
void ExecutionGroup::addOperation(ExecutionSystem *system, NodeOperation *operation)
{
+ /* should never happen but in rare cases it can - it causes confusing crashes */
+ BLI_assert(operation->isOperation() == true);
+
if (containsOperation(operation)) return;
if (canContainOperation(operation)) {
if (!operation->isBufferOperation()) {