Skip to content

Commit

Permalink
test for splines 2.4, not 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Jun 5, 2024
1 parent a53a196 commit 63e7845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion com.unity.cinemachine/Runtime/Core/SplineSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public bool KnotsAreValid(Spline spline, Transform transform)
public float GetCurveInterpolation(int curveIndex, float curveDistance) => m_NativeSpline.GetCurveInterpolation(curveIndex, curveDistance);
/// <inheritdoc/>
public float GetCurveLength(int index) => m_NativeSpline.GetCurveLength(index);
#if CINEMACHINE_SPLINES_2_5
#if CINEMACHINE_SPLINES_2_4
/// <inheritdoc/>
public float3 GetCurveUpVector(int index, float t) => m_NativeSpline.GetCurveUpVector(index, t);
#endif
Expand Down
4 changes: 2 additions & 2 deletions com.unity.cinemachine/Runtime/Unity.Cinemachine.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
},
{
"name": "com.unity.splines",
"expression": "2.5.0",
"define": "CINEMACHINE_SPLINES_2_5"
"expression": "2.4.0",
"define": "CINEMACHINE_SPLINES_2_4"
}
],
"noEngineReferences": false
Expand Down

0 comments on commit 63e7845

Please sign in to comment.