trethaller hace 6 años
padre
commit
f3448ffc83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {
 		props.find(".preview").click(function(e) {
-			applyTo(ctx.scene.editor.camera);
+			applyTo(ctx.scene.s3d.camera);
 			ctx.scene.editor.cameraController.loadFromCamera();
 			ctx.scene.editor.cameraController.loadFromCamera();
 		});
 		});
 	}
 	}