Sfoglia il codice sorgente

[spline]fix non editor build

Clément Espeute 11 mesi fa
parent
commit
519514bce1
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      hrt/prefab/l3d/Spline.hx

+ 2 - 0
hrt/prefab/l3d/Spline.hx

@@ -337,7 +337,9 @@ class Spline extends Object3D {
 	}
 
 	override function postMakeInstance() : Void {
+		#if editor
 		loading = false;
+		#end
 		updateInstance();
 	}