Skip to content

Commit 4dfc24c

Browse files
committed
Fixed several issues when drawing curves.
1 parent bf31cd6 commit 4dfc24c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Plugins/HoudiniEngineUnity/Editor/UI/HEU_CurveUI.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ private void UpdateViewMode(HEU_HoudiniAsset asset, int controlID, EventType eve
430430
foreach (HEU_Curve curve in _curves)
431431
{
432432
// Draw the cooked curve using its vertices
433-
DrawCurveUsingVertices(curve, _unselectedCurveColor);
433+
DrawCurveUsingPoints(curve, _unselectedCurveColor);
434434

435435
DrawPointCaps(curve, _viewPointColor);
436436
}
@@ -579,7 +579,7 @@ private void RepaintAddNode(HEU_HoudiniAsset asset, int controlID, EventType eve
579579
foreach (HEU_Curve curve in _curves)
580580
{
581581
// Draw the cooked curve using its vertices
582-
DrawCurveUsingVertices(curve, _selectedCurveColor);
582+
DrawCurveUsingPoints(curve, _selectedCurveColor);
583583

584584
DrawPointCaps(curve, _addModeDefaultPointColor);
585585

@@ -1227,7 +1227,7 @@ private void EditModeDrawCurvePoints(Event currentEvent, EventType eventType, re
12271227
if (eventType == EventType.Repaint)
12281228
{
12291229
// Draw the cooked curve using its vertices
1230-
DrawCurveUsingVertices(curve, _selectedCurveColor);
1230+
DrawCurveUsingPoints(curve, _selectedCurveColor);
12311231
}
12321232

12331233
// During dragging, we draw the points in the drag logic later
@@ -1841,7 +1841,7 @@ public void RepaintCurves()
18411841
foreach (HEU_Curve curve in _curves)
18421842
{
18431843
// Draw the cooked curve using its vertices
1844-
DrawCurveUsingVertices(curve, _unselectedCurveColor);
1844+
DrawCurveUsingPoints(curve, _unselectedCurveColor);
18451845

18461846
DrawPointCaps(curve, _viewPointColor);
18471847
}

0 commit comments

Comments
 (0)