#99807: Add support for exporting to USDZ - ultimate fixes #105185

Merged
Bastien Montagne merged 12 commits from mont29/blender:usdz_export_fixes into main 2023-02-26 16:37:02 +01:00

12 Commits

Author SHA1 Message Date
Bastien Montagne 646f07c51f Merge branch 'main' into usdz_export_fixes
buildbot/vexp-code-patch-coordinator Build done. Details
2023-02-26 15:56:07 +01:00
Bastien Montagne b710098e54 Merge branch 'main' into usdz_export_fixes
buildbot/vexp-code-patch-coordinator Build done. Details
2023-02-24 18:02:51 +01:00
Bastien Montagne d6574cf22d Fixes to USDZ export before merge.
buildbot/vexp-code-patch-coordinator Build done. Details
Original PR: #104556.
2023-02-24 17:00:46 +01:00
Bastien Montagne 373e87649f Merge branch 'main' into F-pr-104556 2023-02-24 16:24:28 +01:00
DESKTOP-ON14TH5\Sonny Campbell 818a360f24 Merge branch 'main' into unity/T99807-usdz-refactor
buildbot/vexp-code-patch-coordinator Build done. Details
2023-02-22 10:00:16 +00:00
DESKTOP-ON14TH5\Sonny Campbell d95e3b3990 Added logs to error fail cases.
Replaced use of `flags_test_assets_dir` with `BKE_tempdir_case()`.
Use `BLI_path_move` to handle moving file across filesystems where `BLI_rename` would fail.
2023-02-22 09:47:25 +00:00
SonnyCampbell 14d9b8aa8d Merge branch 'main' into unity/T99807-usdz-refactor
# Conflicts:
#	source/blender/blenlib/BLI_fileops.h
#	source/blender/blenlib/intern/storage.c
#	source/blender/blenlib/intern/storage_apple.mm
#	source/blender/blenlib/tests/BLI_fileops_test.cc
2023-02-21 09:42:22 +00:00
DESKTOP-ON14TH5\Sonny Campbell 459748b9d0 Merge branch 'change-working-directory' into unity/T99807-usdz-refactor 2023-02-10 08:39:57 +00:00
DESKTOP-ON14TH5\Sonny Campbell acb15adaf8 Merge branch 'main' into unity/T99807-usdz-refactor 2023-02-10 08:34:56 +00:00
DESKTOP-ON14TH5\Sonny Campbell 96aa7ab367 T99807: Separate logic for changing working directory.
Set dir parameter to const for BLI_change_working_dir.
Added non-ASCII characters to the test directory.

Mac and Linux fixes. Linux now sets PWD when using BLI_change_working_dir. Mac uses NSFileManager through some new Mac-only wrapper functions.

Changed temporary directory to use a directory in the flags_test_asset_dir.
Ensure that operation to change working directory is from the main thread.
2023-02-09 15:55:42 +00:00
DESKTOP-ON14TH5\Sonny Campbell 02a45eeeeb Added unit testing to cover usdz export.
Removed `is_usdz_export` flag to now check if `usdz_filepath` is set instead.
Renamed `unarchived_filepath` to clearly distiguish from `usdz_filepath`. Added comments to clarify the difference.
Created a method on `ExportJobData` to return the final export filepath.
Added comment summary to `perform_usdz_conversion` describing functionality.
2023-01-10 14:02:10 +00:00
SonnyCampbell 04359b840c T99807: Separate logic for changing working directory.
Differential Revision: https://developer.blender.org/D16922
2023-01-05 13:04:10 +00:00