Commit: 4052267be7a5c0037949f1d075c30b6b5991eb0d
Author: Hans Goudey
Date:   Thu Dec 22 16:01:24 2022 -0500
Branches: temp-nodes-group-declarations
https://developer.blender.org/rB4052267be7a5c0037949f1d075c30b6b5991eb0d

Copy over "collapsed" flag

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

M       source/blender/nodes/intern/node_common.cc

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

diff --git a/source/blender/nodes/intern/node_common.cc 
b/source/blender/nodes/intern/node_common.cc
index c06beedaec5..b6cd72f78ee 100644
--- a/source/blender/nodes/intern/node_common.cc
+++ b/source/blender/nodes/intern/node_common.cc
@@ -214,6 +214,7 @@ static SocketDeclarationPtr 
declataion_for_interface_socket(const bNodeSocket &i
   dst->in_out_ = eNodeSocketInOut(io_socket.in_out);
   dst->description_ = io_socket.description;
   dst->hide_value_ = io_socket.flag & SOCK_HIDE_VALUE;
+  dst->compact_ = io_socket.flag & SOCK_COLLAPSED;
   return dst;
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to