diff options
author | Ton Roosendaal <ton@blender.org> | 2008-02-22 14:25:08 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-02-22 14:25:08 +0300 |
commit | b69b5f274b64f0b7dc80490361208ecfb01863b2 (patch) | |
tree | e86836e79c6393cf615267023c1a8ee58a6f05c8 /source/blender/src | |
parent | 4dbf6cf204270579180b4811055740649ab2a4e7 (diff) |
Fix: compositor events caused far too many recomposite signals, this
because it was tagging all nodes with same ID *.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/editnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editnode.c b/source/blender/src/editnode.c index d59f095ea1d..caee417cac1 100644 --- a/source/blender/src/editnode.c +++ b/source/blender/src/editnode.c @@ -297,7 +297,7 @@ static void composit_node_event(SpaceNode *snode, short event) bNode *node= BLI_findlink(&snode->edittree->nodes, event-B_NODE_EXEC); if(node) { NodeTagChanged(snode->edittree, node); - NodeTagIDChanged(snode->nodetree, node->id); /* Scene-layer nodes, texture nodes, image nodes, all can be used many times */ + /* don't use NodeTagIDChanged, it gives far too many recomposites for image, scene layers, ... */ /* not the best implementation of the world... but we need it to work now :) */ if(node->type==CMP_NODE_R_LAYERS && node->custom2) { |