diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-06-05 23:06:33 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-06-05 23:06:33 +0400 |
commit | f681ce08c43b838f0141e8b4875bb10d0d6b1a69 (patch) | |
tree | 8a225340dea7c8a0e8cdb3a6a6109a01b88096fa /source/blender/editors/include/ED_screen.h | |
parent | 4c2a51e1f9691522d083d035b8d6b707bf1e4450 (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/include/ED_screen.h')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index f1be219242e..12030f7da80 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -142,6 +142,7 @@ int ED_operator_file_active(struct bContext *C); int ED_operator_action_active(struct bContext *C); int ED_operator_buttons_active(struct bContext *C); int ED_operator_node_active(struct bContext *C); +int ED_operator_node_editable(struct bContext *C); int ED_operator_graphedit_active(struct bContext *C); int ED_operator_sequencer_active(struct bContext *C); int ED_operator_image_active(struct bContext *C); |