Cleanup: Use const arguments for node group poll function

Also make the disabled hint argument optional.
This commit is contained in:
2022-09-21 15:01:52 -05:00
parent f42569bb71
commit 3676d6b88d
2 changed files with 11 additions and 6 deletions

View File

@@ -960,8 +960,8 @@ void nodeLabel(const struct bNodeTree *ntree, const struct bNode *node, char *la
*/
const char *nodeSocketLabel(const struct bNodeSocket *sock);
bool nodeGroupPoll(struct bNodeTree *nodetree,
struct bNodeTree *grouptree,
bool nodeGroupPoll(const struct bNodeTree *nodetree,
const struct bNodeTree *grouptree,
const char **r_disabled_hint);
/**