From fbdfec658f95ca1381e2d9c2a408f517bd7bbf19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Espeute?= Date: Thu, 25 Apr 2024 14:59:26 +0200 Subject: [PATCH] [spline] fix spline editor in fx editor --- hrt/prefab/l3d/Spline.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hrt/prefab/l3d/Spline.hx b/hrt/prefab/l3d/Spline.hx index a2b3e609..211e426d 100644 --- a/hrt/prefab/l3d/Spline.hx +++ b/hrt/prefab/l3d/Spline.hx @@ -329,6 +329,10 @@ class Spline extends Object3D { if( points.length == 0 ) new SplinePoint(this, null); + #if editor + lineGraphics = null; + #end + updateInstance(); }