浏览代码

[spline]fix non editor build

Clément Espeute 11 月之前
父节点
当前提交
519514bce1
共有 1 个文件被更改,包括 2 次插入0 次删除
  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();
 	}