[Bf-blender-cvs] [92a16d01930] temp-nodes-group-declarations: Merge branch 'master' into temp-nodes-group-declarations

Hans Goudey noreply at git.blender.org
Thu Dec 29 19:31:02 CET 2022


Commit: 92a16d019302f812ffe6dc91b36da412ca1bad7d
Author: Hans Goudey
Date:   Thu Dec 29 13:30:23 2022 -0500
Branches: temp-nodes-group-declarations
https://developer.blender.org/rB92a16d019302f812ffe6dc91b36da412ca1bad7d

Merge branch 'master' into temp-nodes-group-declarations

===================================================================



===================================================================

diff --cc source/blender/blenkernel/BKE_node.h
index 5ee3a8410a4,266ee0d2988..a03ac95e408
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@@ -303,12 -305,12 +305,12 @@@ typedef struct bNodeType 
    /** Can this node be added to a node tree?
     * \param r_disabled_hint: See `poll()`.
     */
-   bool (*poll_instance)(struct bNode *node,
-                         struct bNodeTree *nodetree,
+   bool (*poll_instance)(const struct bNode *node,
+                         const struct bNodeTree *nodetree,
                          const char **r_disabled_hint);
  
 -  /* optional handling of link insertion */
 -  void (*insert_link)(struct bNodeTree *ntree, struct bNode *node, struct bNodeLink *link);
 +  /* optional handling of link insertion. Returns false if the link shouldn't be created. */
 +  bool (*insert_link)(struct bNodeTree *ntree, struct bNode *node, struct bNodeLink *link);
  
    void (*free_self)(struct bNodeType *ntype);



More information about the Bf-blender-cvs mailing list