[Bf-blender-cvs] [f0eaacc343c] greasepencil-object: Change order of modes to reorder Pie menu
Antonio Vazquez
noreply at git.blender.org
Tue Jul 24 18:17:44 CEST 2018
Commit: f0eaacc343c8894046770380387c366d53e1013c
Author: Antonio Vazquez
Date: Tue Jul 24 18:17:32 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBf0eaacc343c8894046770380387c366d53e1013c
Change order of modes to reorder Pie menu
The Draw now is on N option and not in NW. In this way is easier change the most common modes (N, S, E, W)
===================================================================
M source/blender/makesrna/intern/rna_object.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 87624d17680..d84827210bf 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -75,8 +75,8 @@ const EnumPropertyItem rna_enum_object_mode_items[] = {
{OB_MODE_PARTICLE_EDIT, "PARTICLE_EDIT", ICON_PARTICLEMODE, "Particle Edit", ""},
{OB_MODE_GPENCIL_EDIT, "GPENCIL_EDIT", ICON_EDITMODE_HLT, "Edit Mode", "Edit Grease Pencil Strokes"},
{OB_MODE_GPENCIL_SCULPT, "GPENCIL_SCULPT", ICON_SCULPTMODE_HLT, "Sculpt Mode", "Sculpt Grease Pencil Strokes"},
- {OB_MODE_GPENCIL_WEIGHT, "GPENCIL_WEIGHT", ICON_WPAINT_HLT, "Weight Paint", "Grease Pencil Weight Paint Strokes"},
{OB_MODE_GPENCIL_PAINT, "GPENCIL_PAINT", ICON_GREASEPENCIL, "Draw", "Paint Grease Pencil Strokes"},
+ {OB_MODE_GPENCIL_WEIGHT, "GPENCIL_WEIGHT", ICON_WPAINT_HLT, "Weight Paint", "Grease Pencil Weight Paint Strokes" },
{0, NULL, 0, NULL, NULL}
};
More information about the Bf-blender-cvs
mailing list