[Bf-blender-cvs] [612c0ae3c87] temp-nodes-group-declarations: Correct flag used for compact sockets
Hans Goudey
noreply at git.blender.org
Mon Jan 2 22:07:02 CET 2023
Commit: 612c0ae3c87483c82c41d47397b4c7112f343bc9
Author: Hans Goudey
Date: Mon Jan 2 14:57:32 2023 -0500
Branches: temp-nodes-group-declarations
https://developer.blender.org/rB612c0ae3c87483c82c41d47397b4c7112f343bc9
Correct flag used for compact sockets
===================================================================
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 71ca2f0dab6..8652493b49b 100644
--- a/source/blender/nodes/intern/node_common.cc
+++ b/source/blender/nodes/intern/node_common.cc
@@ -215,7 +215,7 @@ static SocketDeclarationPtr declaration_for_interface_socket(const bNodeSocket &
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;
+ dst->compact = io_socket.flag & SOCK_COMPACT;
return dst;
}
More information about the Bf-blender-cvs
mailing list