From bc010036739e76315a2bf2ee19ee891debc8a7aa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 20:58:39 +1100 Subject: [PATCH] Cleanup: move public doc-strings into headers for 'nodes/geometry' Ref T92709 --- source/blender/nodes/geometry/node_geometry_util.cc | 7 ------- source/blender/nodes/geometry/node_geometry_util.hh | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/blender/nodes/geometry/node_geometry_util.cc b/source/blender/nodes/geometry/node_geometry_util.cc index cd2f0097b86..ebe678c6de8 100644 --- a/source/blender/nodes/geometry/node_geometry_util.cc +++ b/source/blender/nodes/geometry/node_geometry_util.cc @@ -28,13 +28,6 @@ namespace blender::nodes { using bke::GeometryInstanceGroup; -/** - * Update the availability of a group of input sockets with the same name, - * used for switching between attribute inputs or single values. - * - * \param mode: Controls which socket of the group to make available. - * \param name_is_available: If false, make all sockets with this name unavailable. - */ void update_attribute_input_socket_availabilities(bNodeTree &ntree, bNode &node, const StringRef name, diff --git a/source/blender/nodes/geometry/node_geometry_util.hh b/source/blender/nodes/geometry/node_geometry_util.hh index 79fe2ffc42b..cf731427841 100644 --- a/source/blender/nodes/geometry/node_geometry_util.hh +++ b/source/blender/nodes/geometry/node_geometry_util.hh @@ -43,6 +43,13 @@ bool geo_node_poll_default(struct bNodeType *ntype, const char **r_disabled_hint); namespace blender::nodes { +/** + * Update the availability of a group of input sockets with the same name, + * used for switching between attribute inputs or single values. + * + * \param mode: Controls which socket of the group to make available. + * \param name_is_available: If false, make all sockets with this name unavailable. + */ void update_attribute_input_socket_availabilities(bNodeTree &ntree, bNode &node, const StringRef name,