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:
authorPablo Vazquez <pablo@blender.org>2020-10-20 01:12:45 +0300
committerPablo Vazquez <pablo@blender.org>2020-10-20 01:12:45 +0300
commit31108f93597adc3a01058cbd7154b274b2402fdd (patch)
tree6285707b06dae78915e7ba9ed9d3b372f9b655b5 /source/blender/makesrna/intern/rna_modifier.c
parentc6c49257710c4c7976601de54bcddc45eb9ee206 (diff)
UI: Sort "Volume to Mesh" and "Mesh to Volume" in alphabetical order
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 066bf309caa..9e0597f000b 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -151,6 +151,11 @@ const EnumPropertyItem rna_enum_object_modifier_type_items[] = {
ICON_MOD_MIRROR,
"Mirror",
"Mirror along the local X, Y and/or Z axes, over the object origin"},
+ {eModifierType_MeshToVolume,
+ "MESH_TO_VOLUME",
+ ICON_VOLUME_DATA,
+ "Mesh to Volume",
+ ""}, /* TODO: Use correct icon. */
{eModifierType_Multires,
"MULTIRES",
ICON_MOD_MULTIRES,
@@ -183,6 +188,11 @@ const EnumPropertyItem rna_enum_object_modifier_type_items[] = {
ICON_MOD_TRIANGULATE,
"Triangulate",
"Convert all polygons to triangles"},
+ {eModifierType_VolumeToMesh,
+ "VOLUME_TO_MESH",
+ ICON_VOLUME_DATA,
+ "Volume to Mesh",
+ ""}, /* TODO: Use correct icon. */
{eModifierType_Weld,
"WELD",
ICON_AUTOMERGE_OFF,
@@ -193,16 +203,6 @@ const EnumPropertyItem rna_enum_object_modifier_type_items[] = {
ICON_MOD_WIREFRAME,
"Wireframe",
"Convert faces into thickened edges"},
- {eModifierType_MeshToVolume,
- "MESH_TO_VOLUME",
- ICON_VOLUME_DATA,
- "Mesh to Volume",
- ""}, /* TODO: Use correct icon. */
- {eModifierType_VolumeToMesh,
- "VOLUME_TO_MESH",
- ICON_VOLUME_DATA,
- "Volume to Mesh",
- ""}, /* TODO: Use correct icon. */
{0, "", 0, N_("Deform"), ""},
{eModifierType_Armature,
"ARMATURE",