From 1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051 Mon Sep 17 00:00:00 2001 From: Yevgeny Makarov Date: Wed, 7 Oct 2020 08:17:16 -0500 Subject: 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 --- source/blender/editors/object/object_add.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to '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}, }; -- cgit v1.2.3