[Fix]: Corrected camera's projection when engine idle reconnects (#7173)
* fix: implemented a fix to read from settings before restoring camera view and log if it desyncs * fix: reverting testing code * fix: always enable ortho scale enabled mode * fix: fixed the ortho_scale_enabled boolean, do not touch it. Set it to true and never touch it again
This commit is contained in:
@ -648,7 +648,8 @@ export async function engineViewIsometricWithoutGeometryPresent({
|
||||
fov_y: 45,
|
||||
ortho_scale_factor: 1.4063792,
|
||||
is_ortho: cameraProjection !== 'perspective',
|
||||
ortho_scale_enabled: cameraProjection !== 'perspective',
|
||||
// always keep this enabled
|
||||
ortho_scale_enabled: true,
|
||||
world_coord_system: 'right_handed_up_z',
|
||||
}
|
||||
await engineCommandManager.sendSceneCommand({
|
||||
|
Reference in New Issue
Block a user