[Bf-blender-cvs] [6a478622151] universal-scene-description: USD: Path Mask import option improvements.

Michael Kowalski noreply at git.blender.org
Mon Dec 12 18:28:05 CET 2022


Commit: 6a478622151cce676f28e2c02b35b5e2c8200c24
Author: Michael Kowalski
Date:   Mon Dec 12 12:26:29 2022 -0500
Branches: universal-scene-description
https://developer.blender.org/rB6a478622151cce676f28e2c02b35b5e2c8200c24

USD: Path Mask import option improvements.

The prim_path_mask USD import option string property
length is now unlimited.

Updated the Path Mask option tooltip.

===================================================================

M	source/blender/editors/io/io_usd.c

===================================================================

diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index 05dc0cbf986..0e26d6e8820 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -1374,9 +1374,10 @@ void WM_OT_usd_import(struct wmOperatorType *ot)
   RNA_def_string(ot->srna,
                  "prim_path_mask",
                  NULL,
-                 1024,
+                 0,
                  "Path Mask",
-                 "Import only the subset of the USD scene rooted at the given primitive");
+                 "Import only the primitive at the given path and its descendents.  "
+                 "Multiple paths may be specified in a list delimited by spaces, commas or somicolons");
 
   RNA_def_boolean(ot->srna, "import_guide", false, "Guide", "Import guide geometry");



More information about the Bf-blender-cvs mailing list