浏览代码

fix build

trethaller 6 年之前
父节点
当前提交
f3448ffc83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/prefab/l3d/Camera.hx

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

@@ -63,7 +63,7 @@ class Camera extends hide.prefab.Object3D {
 		});
 
 		props.find(".preview").click(function(e) {
-			applyTo(ctx.scene.editor.camera);
+			applyTo(ctx.scene.s3d.camera);
 			ctx.scene.editor.cameraController.loadFromCamera();
 		});
 	}