[Bf-blender-cvs] [86a471efe71] master: Fix: field socket not showing as field socket
Jacques Lucke
noreply at git.blender.org
Wed Jan 4 12:34:49 CET 2023
Commit: 86a471efe71a84d807e682445fd73a247f196612
Author: Jacques Lucke
Date: Wed Jan 4 12:34:41 2023 +0100
Branches: master
https://developer.blender.org/rB86a471efe71a84d807e682445fd73a247f196612
Fix: field socket not showing as field socket
This was a mistake in rB0f8487f640edd754de21cffec2dc6c9a1db7234c.
===================================================================
M source/blender/nodes/NOD_node_declaration.hh
===================================================================
diff --git a/source/blender/nodes/NOD_node_declaration.hh b/source/blender/nodes/NOD_node_declaration.hh
index 080f3e5e855..c221c64442d 100644
--- a/source/blender/nodes/NOD_node_declaration.hh
+++ b/source/blender/nodes/NOD_node_declaration.hh
@@ -544,6 +544,7 @@ typename SocketDeclarationBuilder<SocketDecl>::Self &SocketDeclarationBuilder<
{
aal::RelationsInNode &relations = node_decl_builder_->get_anonymous_attribute_relations();
if (decl_->in_out == SOCK_IN) {
+ this->supports_field();
for (const int input_index : indices) {
aal::EvalRelation relation;
relation.field_input = index_;
@@ -552,6 +553,7 @@ typename SocketDeclarationBuilder<SocketDecl>::Self &SocketDeclarationBuilder<
}
}
else {
+ this->field_source();
for (const int output_index : indices) {
aal::AvailableRelation relation;
relation.field_output = index_;
More information about the Bf-blender-cvs
mailing list