USD Import: mask multiple prim paths. #106974

Merged
Michael Kowalski merged 8 commits from makowalski/blender:usd_import_open_masked into main 2023-04-25 16:32:58 +02:00

8 Commits

Author SHA1 Message Date
Michael Kowalski 0f0abf52e9 Merge branch 'main' into usd_import_open_masked 2023-04-25 16:17:53 +02:00
Michael Kowalski 9fe3cfbec9 USD import: update Path Mask option description. 2023-04-25 09:53:16 -04:00
Michael Kowalski 8adbe7a59c Merge branch 'main' into usd_import_open_masked 2023-04-25 09:37:47 -04:00
Michael Kowalski 9d7a0a2f18 USD import: don't allow spaces in Path Mask.
buildbot/vexp-code-patch-coordinator Build done. Details
No longer allowing spaces as separators in Path Mask option.
2023-04-24 12:02:47 -04:00
Michael Kowalski 78489c49eb Merge branch 'main' into usd_import_open_masked 2023-04-24 10:47:17 -04:00
Michael Kowalski d642a2c5e2 USD import: prim_path_mask option cleanup.
Fixes based on review feedback:

Fixed typo in prim_path_mask option description.

Now calling MEM_SAFE_FREE on allocated prim_path_mask string.
2023-04-18 12:41:31 -04:00
Michael Kowalski eb0edfaf0d Merge branch 'main' into usd_import_open_masked 2023-04-18 10:51:19 -04:00
Michael Kowalski 2a1d9dd4e7 USD Import: mask multiple prim paths.
This patch addresses bug #102594.

These changes enhance the prim_path_mask USD import
option to allow masking on multiple paths.

- Changed the prim_path_mask import property to
a string of arbitrary size.

- Multiple paths may be specified in a list delimited
by spaces, commas or semicolons.

- Now using the pxr::UsdStagePopulationMask class to apply
the masking when opening the stage, which is more efficient
and which preserves the full prim paths.
2023-04-14 18:20:00 -04:00