#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

This PR is based on #104556, with some ultimate fixes before merge in main.

This PR is based on #104556, with some ultimate fixes before merge in main.
Bastien Montagne added 10 commits 2023-02-24 17:07:49 +01:00
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.
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.
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
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.
buildbot/vexp-code-patch-coordinator Build done. Details
818a360f24
Merge branch 'main' into unity/T99807-usdz-refactor
buildbot/vexp-code-patch-coordinator Build done. Details
d6574cf22d
Fixes to USDZ export before merge.
Original PR: #104556.
Bastien Montagne added this to the USD project 2023-02-24 17:08:02 +01:00
Bastien Montagne requested review from Sonny Campbell 2023-02-24 17:08:13 +01:00
Author
Owner

@blender-bot build

@blender-bot build
Sonny Campbell approved these changes 2023-02-24 17:18:37 +01:00
Sonny Campbell left a comment
Member

Thanks Bastien!

Thanks Bastien!
Author
Owner

@blender-bot build

@blender-bot build
Author
Owner

@blender-bot build

@blender-bot build
Bastien Montagne added 1 commit 2023-02-24 18:03:09 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
b710098e54
Merge branch 'main' into usdz_export_fixes
Author
Owner

@blender-bot build

@blender-bot build
Bastien Montagne added 1 commit 2023-02-26 15:59:43 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
646f07c51f
Merge branch 'main' into usdz_export_fixes
Author
Owner

@blender-bot build

@blender-bot build
Bastien Montagne merged commit 54f672cbfa into main 2023-02-26 16:37:02 +01:00
Bastien Montagne deleted branch usdz_export_fixes 2023-02-26 16:37:02 +01:00
Bastien Montagne removed this from the USD project 2023-02-27 18:24:33 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#105185
No description provided.