Commit: 1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051
Author: Yevgeny Makarov
Date:   Wed Oct 7 08:17:16 2020 -0500
Branches: master
https://developer.blender.org/rB1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051

UI: Improve labels in "Convert To" menu

Move the information about the type of the source objects to the item
descriptions instead of the names. The extra information in the names
made the labels cluttered, and it's less important information.

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

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

M       source/blender/editors/object/object_add.c

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

diff --git a/source/blender/editors/object/object_add.c 
b/source/blender/editors/object/object_add.c
index dfad69e7c25..55acc8a567d 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2328,15 +2328,27 @@ void OBJECT_OT_duplicates_make_real(wmOperatorType *ot)
  * \{ */
 
 static const EnumPropertyItem convert_target_items[] = {
-    {OB_CURVE, "CURVE", ICON_OUTLINER_OB_CURVE, "Curve from Mesh/Text", ""},
+    {OB_CURVE, "CURVE", ICON_OUTLINER_OB_CURVE, "Curve", "Curve from Mesh or 
Text objects"},
+    {OB_MESH,
+     "MESH",
+     ICON_OUTLINER_OB_MESH,
+     "Mesh",
 #ifdef WITH_PARTICLE_NODES
-    {OB_MESH, "MESH", ICON_OUTLINER_OB_MESH, "Mesh from 
Curve/Meta/Surf/Text/Pointcloud", ""},
+     "Mesh from Curve, Surface, Metaball, Text, or Pointcloud objects"},
 #else
-    {OB_MESH, "MESH", ICON_OUTLINER_OB_MESH, "Mesh from Curve/Meta/Surf/Text", 
""},
+     "Mesh from Curve, Surface, Metaball, or Text objects"},
 #endif
-    {OB_GPENCIL, "GPENCIL", ICON_OUTLINER_OB_GREASEPENCIL, "Grease Pencil from 
Curve/Mesh", ""},
+    {OB_GPENCIL,
+     "GPENCIL",
+     ICON_OUTLINER_OB_GREASEPENCIL,
+     "Grease Pencil",
+     "Grease Pencil from Curve or Mesh objects"},
 #ifdef WITH_PARTICLE_NODES
-    {OB_POINTCLOUD, "POINTCLOUD", ICON_OUTLINER_OB_POINTCLOUD, "Pointcloud 
from Mesh", ""},
+    {OB_POINTCLOUD,
+     "POINTCLOUD",
+     ICON_OUTLINER_OB_POINTCLOUD,
+     "Pointcloud",
+     "Pointcloud from Mesh objects"},
 #endif
     {0, NULL, 0, NULL, NULL},
 };

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to