diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-18 22:07:18 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-18 22:07:41 +0300 |
commit | 977baeaa261b1c17306fc381df158d07492688bf (patch) | |
tree | bb75be9b2cd9e444e81be037bc1ebc4de5753e0d /source/blender/editors/include/ED_node.h | |
parent | 09ecb089a5e228e5543374df93bae0b211f73a5a (diff) |
Cleanup: Make node editor functions private
These operations (sorting and selecting all nodes) should generally
be handled by the node editor and not outside code. They were not
called outside of the node editor, so they can be moved to the editor's
`intern` header.
Diffstat (limited to 'source/blender/editors/include/ED_node.h')
-rw-r--r-- | source/blender/editors/include/ED_node.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h index db1ba80dd3c..181b6848ac7 100644 --- a/source/blender/editors/include/ED_node.h +++ b/source/blender/editors/include/ED_node.h @@ -101,11 +101,6 @@ void ED_node_socket_draw(struct bNodeSocket *sock, void ED_node_tree_update(const struct bContext *C); void ED_node_tag_update_id(struct ID *id); -/** - * Sort nodes by selection: unselected nodes first, then selected, - * then the active node at the very end. Relative order is kept intact. - */ -void ED_node_sort(struct bNodeTree *ntree); float ED_node_grid_size(void); /* node_relationships.c */ @@ -142,8 +137,6 @@ void ED_node_composit_default(const struct bContext *C, struct Scene *scene); * Called from shading buttons or header. */ void ED_node_texture_default(const struct bContext *C, struct Tex *tex); -bool ED_node_select_check(const ListBase *lb); -void ED_node_select_all(ListBase *lb, int action); void ED_node_post_apply_transform(struct bContext *C, struct bNodeTree *ntree); void ED_node_set_active(struct Main *bmain, struct SpaceNode *snode, |