[Bf-blender-cvs] [2ad93e434d9] usd-importer-T81257-merge: USD import option name cleanup.

makowalski noreply at git.blender.org
Tue Jul 20 03:12:03 CEST 2021


Commit: 2ad93e434d912b40421b1954b6f3cca12fdabfc9
Author: makowalski
Date:   Mon Jul 19 18:55:17 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB2ad93e434d912b40421b1954b6f3cca12fdabfc9

USD import option name cleanup.

Removed unneeded Import prefix from option names.

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

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 a2c9e0f8699..9a6d991bf1e 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -451,12 +451,12 @@ void WM_OT_usd_import(struct wmOperatorType *ot)
                   "Set Frame Range",
                   "Update the scene's start and end frame to match those of the USD archive");
 
-  RNA_def_boolean(ot->srna, "import_cameras", true, "Import Cameras", "");
-  RNA_def_boolean(ot->srna, "import_curves", true, "Import Curves", "");
-  RNA_def_boolean(ot->srna, "import_lights", true, "Import Lights", "");
-  RNA_def_boolean(ot->srna, "import_materials", true, "Import Materials", "");
-  RNA_def_boolean(ot->srna, "import_meshes", true, "Import Meshes", "");
-  RNA_def_boolean(ot->srna, "import_volumes", true, "Import Volumes", "");
+  RNA_def_boolean(ot->srna, "import_cameras", true, "Cameras", "");
+  RNA_def_boolean(ot->srna, "import_curves", true, "Curves", "");
+  RNA_def_boolean(ot->srna, "import_lights", true, "Lights", "");
+  RNA_def_boolean(ot->srna, "import_materials", true, "Materials", "");
+  RNA_def_boolean(ot->srna, "import_meshes", true, "Meshes", "");
+  RNA_def_boolean(ot->srna, "import_volumes", true, "Volumes", "");
 
   RNA_def_boolean(ot->srna,
                   "import_subdiv",



More information about the Bf-blender-cvs mailing list