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_intern.h
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_intern.h')
-rw-r--r--source/blender/editors/space_node/node_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_intern.h b/source/blender/editors/space_node/node_intern.h
index c31bb5ba832..a9a17b182a4 100644
--- a/source/blender/editors/space_node/node_intern.h
+++ b/source/blender/editors/space_node/node_intern.h
@@ -176,6 +176,7 @@ void snode_set_context(const struct bContext *C);
void snode_update(struct SpaceNode *snode, struct bNode *node);
int composite_node_active(struct bContext *C);
+int composite_node_editable(struct bContext *C);
int node_has_hidden_sockets(bNode *node);
void node_set_hidden_sockets(SpaceNode *snode, bNode *node, int set);