Skip to content

Commit fae75e7

Browse files
Fix default input on atan2 nodes (AcademySoftwareFoundation#2352)
default input was set to 'in1', changed to 'iny'
1 parent 07a27e3 commit fae75e7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

libraries/stdlib/stdlib_defs.mtlx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@
21892189
<nodedef name="ND_atan2_float" node="atan2" nodegroup="math">
21902190
<input name="iny" type="float" value="0.0" />
21912191
<input name="inx" type="float" value="1.0" />
2192-
<output name="out" type="float" defaultinput="in1" />
2192+
<output name="out" type="float" defaultinput="iny" />
21932193
</nodedef>
21942194
<nodedef name="ND_sin_vector2" node="sin" nodegroup="math">
21952195
<input name="in" type="vector2" value="0.0, 0.0" />
@@ -2214,7 +2214,7 @@
22142214
<nodedef name="ND_atan2_vector2" node="atan2" nodegroup="math">
22152215
<input name="iny" type="vector2" value="1.0, 1.0" />
22162216
<input name="inx" type="vector2" value="0.0, 0.0" />
2217-
<output name="out" type="vector2" defaultinput="in1" />
2217+
<output name="out" type="vector2" defaultinput="iny" />
22182218
</nodedef>
22192219
<nodedef name="ND_sin_vector3" node="sin" nodegroup="math">
22202220
<input name="in" type="vector3" value="0.0, 0.0, 0.0" />
@@ -2239,7 +2239,7 @@
22392239
<nodedef name="ND_atan2_vector3" node="atan2" nodegroup="math">
22402240
<input name="iny" type="vector3" value="1.0, 1.0, 1.0" />
22412241
<input name="inx" type="vector3" value="0.0, 0.0, 0.0" />
2242-
<output name="out" type="vector3" defaultinput="in1" />
2242+
<output name="out" type="vector3" defaultinput="iny" />
22432243
</nodedef>
22442244
<nodedef name="ND_sin_vector4" node="sin" nodegroup="math">
22452245
<input name="in" type="vector4" value="0.0, 0.0, 0.0, 0.0" />
@@ -2264,7 +2264,7 @@
22642264
<nodedef name="ND_atan2_vector4" node="atan2" nodegroup="math">
22652265
<input name="iny" type="vector4" value="1.0, 1.0, 1.0, 1.0" />
22662266
<input name="inx" type="vector4" value="0.0, 0.0, 0.0, 0.0" />
2267-
<output name="out" type="vector4" defaultinput="in1" />
2267+
<output name="out" type="vector4" defaultinput="iny" />
22682268
</nodedef>
22692269

22702270
<!--

0 commit comments

Comments
 (0)