trethaller 6 vuotta sitten
vanhempi
commit
f3448ffc83
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
 		});
 	}