Cleanup: move public doc-strings into headers for 'nodes/geometry'

Ref T92709
This commit is contained in:
Campbell Barton 2021-12-09 20:58:39 +11:00
parent cd4a7be5b2
commit bc01003673
Notes: blender-bot 2023-02-14 01:35:49 +01:00
Referenced by issue #93854, Relocate doc-strings into public headers
Referenced by issue #92709, Code Style: documentation at declaration or definition
2 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -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,