diff options
author | Thomas Dinges <blender@dingto.org> | 2011-08-16 12:40:25 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-08-16 12:40:25 +0400 |
commit | b4df54151a5fe9e81e44bb75f6c9b3026b13d2e9 (patch) | |
tree | d476a7709aac15bea2ebdada6569e79a3e69756e | |
parent | 405218df6fa57794d8d7d932eeb6c92f94aff0bc (diff) |
2.6 Node Muting:
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index e8fc13e340e..9cafc46ca53 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -3007,10 +3007,10 @@ static int node_mute_exec(bContext *C, wmOperator *UNUSED(op)) for(node= snode->edittree->nodes.first; node; node= node->next) { if(node->flag & SELECT) { - if(node->inputs.first && node->outputs.first) { + /* Be able to mute in-/output nodes as well. - DingTo + if(node->inputs.first && node->outputs.first) { */ node->flag ^= NODE_MUTED; snode_tag_changed(snode, node); - } } } |