Fix #27626: nodes inside groups can't be muted. There was a check here to
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 2 Dec 2011 15:08:27 +0000 (15:08 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 2 Dec 2011 15:08:27 +0000 (15:08 +0000)
disable this, but with recent node muting patch and node group changes it
should work now.

source/blender/editors/space_node/node_edit.c

index cd4e99900e774b96761ede778696f39bd585b29c..4074e35f8606d402e03b082aedaead2ef83b4c2b 100644 (file)
@@ -3276,10 +3276,6 @@ static int node_mute_exec(bContext *C, wmOperator *UNUSED(op))
        SpaceNode *snode= CTX_wm_space_node(C);
        bNode *node;
 
-       /* no disabling inside of groups */
-       if(node_tree_get_editgroup(snode->nodetree))
-               return OPERATOR_CANCELLED;
-       
        ED_preview_kill_jobs(C);
 
        for(node= snode->edittree->nodes.first; node; node= node->next) {