Преглед изворни кода

[spline] fix spline editor in fx editor

Clément Espeute пре 1 година
родитељ
комит
fbdfec658f
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      hrt/prefab/l3d/Spline.hx

+ 4 - 0
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();
 	}