Skip to content

Commit

Permalink
Changed Spline weight to weight_values array (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
martys71 authored Mar 1, 2024
1 parent c9b6f59 commit 83a03de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/EntitiesSpec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@
<Field Name="start_tangent" Code="12" Type="Point" DefaultValue="Point::origin()" CodeOverrides="12,22,32" />
<Field Name="end_tangent" Code="13" Type="Point" DefaultValue="Point::origin()" CodeOverrides="13,23,33" />
<Field Name="knot_values" Code="40" Type="f64" DefaultValue="vec![]" AllowMultiples="true" />
<Field Name="weight" Code="41" Type="f64" DefaultValue="1.0" DisableWritingDefault="true" />
<Field Name="weight_values" Code="41" Type="f64" DefaultValue="vec![]" AllowMultiples="true"/>
<Field Name="__control_point_x" Code="10" Type="f64" DefaultValue="vec![]" AllowMultiples="true" />
<Field Name="__control_point_y" Code="20" Type="f64" DefaultValue="vec![]" AllowMultiples="true" />
<Field Name="__control_point_z" Code="30" Type="f64" DefaultValue="vec![]" AllowMultiples="true" />
Expand All @@ -1035,7 +1035,7 @@
<WriteField Field="start_tangent" />
<WriteField Field="end_tangent" />
<WriteField Field="knot_values" />
<WriteField Field="weight" />
<WriteField Field="weight_values" />
<Foreach Field="ent.control_points">
<WriteSpecificValue Code="10" Value="item.x" />
<WriteSpecificValue Code="20" Value="item.y" />
Expand Down

0 comments on commit 83a03de

Please sign in to comment.