Fix #35640, part 2. Check id.lib in poll functions for operators which do critical...
[blender.git] / source / blender / editors / space_node / node_group.c
index 9b445cfc82c55c864d4a914a0ac0776846db2751..30997e31249bca295559bb079cfe0c5cc8d66ec3 100644 (file)
@@ -71,7 +71,7 @@
 
 static int node_group_operator_poll(bContext *C)
 {
-       if (ED_operator_node_active(C)) {
+       if (ED_operator_node_editable(C)) {
                SpaceNode *snode = CTX_wm_space_node(C);
                
                /* Group operators only defined for standard node tree types.