浏览代码

Fix Instance.makeInstance

trethaller 6 年之前
父节点
当前提交
334f2d6f87
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);