[Bf-blender-cvs] [65194f47b0a] master: UI: Improve wording for some USD export descriptions

Hans Goudey noreply at git.blender.org
Fri Apr 15 20:51:09 CEST 2022


Commit: 65194f47b0a38760927c5f5f56c9b89c1f23e50f
Author: Hans Goudey
Date:   Fri Apr 15 13:50:32 2022 -0500
Branches: master
https://developer.blender.org/rB65194f47b0a38760927c5f5f56c9b89c1f23e50f

UI: Improve wording for some USD export descriptions

The HIG mentions that redundant words like "Enables" or "Activates"
shouldn't be used for tooltips of boolean properties. In this case
"When checked" was the redundant language that was implied by
the checkbox itself-- convention is to just state what the property
does when it's on.

Also change a few conjugations to the imperative and simplify
wording slightly, in order to be more consistent with language
elsewhere in Blender, and to be a bit more direct.

Differential Revision: https://developer.blender.org/D14644

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

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 bff1bdd0ed8..e0616a0cec3 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -215,47 +215,43 @@ void WM_OT_usd_export(struct wmOperatorType *ot)
                   "selected_objects_only",
                   false,
                   "Selection Only",
-                  "Only selected objects are exported. Unselected parents of selected objects are "
+                  "Only export selected objects. Unselected parents of selected objects are "
                   "exported as empty transform");
 
   RNA_def_boolean(ot->srna,
                   "visible_objects_only",
                   true,
                   "Visible Only",
-                  "Only visible objects are exported. Invisible parents of exported objects are "
-                  "exported as empty transform");
+                  "Only export visible objects. Invisible parents of exported objects are "
+                  "exported as empty transforms");
 
-  RNA_def_boolean(ot->srna,
-                  "export_animation",
-                  false,
-                  "Animation",
-                  "When checked, the render frame range is exported. When false, only the current "
-                  "frame is exported");
   RNA_def_boolean(
-      ot->srna, "export_hair", false, "Hair", "When checked, hair is exported as USD curves");
-  RNA_def_boolean(ot->srna,
-                  "export_uvmaps",
-                  true,
-                  "UV Maps",
-                  "When checked, all UV maps of exported meshes are included in the export");
+      ot->srna,
+      "export_animation",
+      false,
+      "Animation",
+      "Export all frames in the render frame range, rather than only the current frame");
+  RNA_def_boolean(
+      ot->srna, "export_hair", false, "Hair", "Export hair particle systems as USD curves");
+  RNA_def_boolean(
+      ot->srna, "export_uvmaps", true, "UV Maps", "Include all mesh UV maps in the export");
   RNA_def_boolean(ot->srna,
                   "export_normals",
                   true,
                   "Normals",
-                  "When checked, normals of exported meshes are included in the export");
+                  "Include normals of exported meshes in the export");
   RNA_def_boolean(ot->srna,
                   "export_materials",
                   true,
                   "Materials",
-                  "When checked, the viewport settings of materials are exported as USD preview "
-                  "materials, and material assignments are exported as geometry subsets");
+                  "Export viewport settings of materials as USD preview materials, and export "
+                  "material assignments as geometry subsets");
 
   RNA_def_boolean(ot->srna,
                   "use_instancing",
                   false,
                   "Instancing",
-                  "When checked, instanced objects are exported as references in USD. "
-                  "When unchecked, instanced objects are exported as real objects");
+                  "Export instanced objects as references in USD rather than real objects");
 
   RNA_def_enum(ot->srna,
                "evaluation_mode",



More information about the Bf-blender-cvs mailing list