Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Nov 22, 2024
1 parent c54e3c5 commit 276691c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/sources/export_arm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ function export_arm_run_project() {
assets: texture_files,
packed_assets: packed_assets,
swatches: project_raw.swatches,
envmap: project_raw.envmap != null ? (same_drive ? path_to_relative(project_filepath, project_raw.envmap) : project_raw.envmap) : null,
envmap: project_raw.envmap != null ?
(same_drive ?
path_to_relative(project_filepath, project_raw.envmap) :
project_raw.envmap) :
null,
envmap_strength: scene_world.strength,
camera_world: mat4_to_f32_array(scene_camera.base.transform.local),
camera_origin: export_arm_vec3f32(camera_origins[0].v),
Expand Down

0 comments on commit 276691c

Please sign in to comment.