Browse Source

Fix Instance.makeInstance

trethaller 6 năm trước cách đây
mục cha
commit
334f2d6f87
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hide/prefab/l3d/Instance.hx

+ 1 - 1
hide/prefab/l3d/Instance.hx

@@ -24,7 +24,7 @@ class Instance extends Object3D {
 					var ctx = ctx.clone(this);
 					ctx.isRef = true;
 					if(ref != null)
-						ref.makeInstance(ctx);
+						ref.make(ctx);
 				}
 				else {
 					var obj = ctx.loadModel(modelPath);