Commit: 082449b737569bf7d75cbdefc49926737845afdb
Author: Hans Goudey
Date: Mon Jan 9 23:22:59 2023 -0500
Branches: temp-nodes-group-declarations
https://developer.blender.org/rB082449b737569bf7d75cbdefc49926737845afdb
Add missing tag for socket declaration node sockets update
===================================================================
M source/blender/nodes/intern/node_socket.cc
===================================================================
diff --git a/source/blender/nodes/intern/node_socket.cc
b/source/blender/nodes/intern/node_socket.cc
index 44573492012..a1f24ee9e15 100644
--- a/source/blender/nodes/intern/node_socket.cc
+++ b/source/blender/nodes/intern/node_socket.cc
@@ -19,6 +19,7 @@
#include "BKE_lib_id.h"
#include "BKE_node.h"
#include "BKE_node_runtime.hh"
+#include "BKE_node_tree_update.h"
#include "DNA_collection_types.h"
#include "DNA_material_types.h"
@@ -234,6 +235,7 @@ static void refresh_socket_list(bNodeTree &ntree,
}
}
new_sockets.add_new(new_socket);
+ BKE_ntree_update_tag_socket_new(&ntree, new_socket);
}
LISTBASE_FOREACH_MUTABLE (bNodeSocket *, old_socket, &sockets) {
if (!new_sockets.contains(old_socket)) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs