[Bf-blender-cvs] [4052267be7a] temp-nodes-group-declarations: Copy over "collapsed" flag

Hans Goudey noreply at git.blender.org
Thu Dec 22 22:01:29 CET 2022


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;
 }



More information about the Bf-blender-cvs mailing list