Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-10-07 16:17:16 +0300
committerHans Goudey <h.goudey@me.com>2020-10-07 16:17:16 +0300
commit1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051 (patch)
tree9d8a2008f8b42c172067fc5ec21ef445e1a8c29b /source/blender/editors/object/object_add.c
parent494ffd2f9551b756e782e07d17748063eea04c45 (diff)
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
Diffstat (limited to 'source/blender/editors/object/object_add.c')
-rw-r--r--source/blender/editors/object/object_add.c22
1 files changed, 17 insertions, 5 deletions
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},
};