Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-06-05 23:06:33 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-06-05 23:06:33 +0400
commitf681ce08c43b838f0141e8b4875bb10d0d6b1a69 (patch)
tree8a225340dea7c8a0e8cdb3a6a6109a01b88096fa /source/blender/editors/space_node/node_group.c
parent4c2a51e1f9691522d083d035b8d6b707bf1e4450 (diff)
Fix #35640, part 2. Check id.lib in poll functions for operators which do critical modification of node trees (create nodes, link, etc.). Transform operators and hide/show type operators are still
allowed, this does not modify actual behavior of the nodes and can be useful for inspecting linked nodes.
Diffstat (limited to 'source/blender/editors/space_node/node_group.c')
-rw-r--r--source/blender/editors/space_node/node_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_group.c b/source/blender/editors/space_node/node_group.c
index 9b445cfc82c..30997e31249 100644
--- a/source/blender/editors/space_node/node_group.c
+++ b/source/blender/editors/space_node/node_group.c
@@ -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.