소스 검색

[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();
 	}