Fix: implicit field socket ignored

Follow up to rB86a471efe71a84d807e682445fd73a247f196612.
This commit is contained in:
Jacques Lucke 2023-01-04 13:12:11 +01:00
parent 86a471efe7
commit 1beaec46b8
Notes: blender-bot 2023-02-23 11:28:58 +01:00
Referenced by issue #103635, Metal backend shows everything in pink
Referenced by issue #103631, Blender 3.5.0 master crashes doing anything on MacBook Pro Intel Big Sur
Referenced by issue #103564, Scripting: creating a corner-domain color attribute doesn't make it active
Referenced by issue #104803, Regression: mesh.vertex_colors.active doesn't work since 3.2
1 changed files with 1 additions and 1 deletions

View File

@ -349,8 +349,8 @@ class SocketDeclarationBuilder : public BaseSocketDeclarationBuilder {
/** The input is evaluated on a subset of the geometry inputs. */
Self &implicit_field_on(ImplicitInputValueFn fn, const Span<int> input_indices)
{
this->implicit_field(fn);
this->field_on(input_indices);
this->implicit_field(fn);
return *(Self *)this;
}