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.
This commit is contained in:
@@ -3007,12 +3007,12 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
snode_notify(C, snode);
|
||||
snode_dag_update(C, snode);
|
||||
|
Reference in New Issue
Block a user