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:
authormano-wii <germano.costa@ig.com.br>2020-01-27 20:17:51 +0300
committermano-wii <germano.costa@ig.com.br>2020-01-27 20:17:51 +0300
commit67f3941dd592d8a02d86450e303b6b7e50857c9c (patch)
tree1b363ee981eee06d065db6176f6c1b8369bcd2c0 /source/blender/bmesh
parent20e803ac6bc655d4d7ffbf02e797b4ab1f3ba0ed (diff)
parentc8103efbe3bfa2487a2866a7cf22e3b7681338ef (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/intern/bmesh_opdefines.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c
index 74d01dca66a..4fa7bf64834 100644
--- a/source/blender/bmesh/intern/bmesh_opdefines.c
+++ b/source/blender/bmesh/intern/bmesh_opdefines.c
@@ -102,6 +102,16 @@ static BMO_FlagSet bmo_enum_axis_xyz[] = {
{0, NULL},
};
+static BMO_FlagSet bmo_enum_axis_neg_xyz_and_xyz[] = {
+ {0, "-X"},
+ {1, "-Y"},
+ {2, "-Z"},
+ {3, "X"},
+ {4, "Y"},
+ {5, "Z"},
+ {0, NULL},
+};
+
static BMO_FlagSet bmo_enum_falloff_type[] = {
{SUBD_FALLOFF_SMOOTH, "SMOOTH"},
{SUBD_FALLOFF_SPHERE, "SPHERE"},
@@ -2046,7 +2056,7 @@ static BMOpDefine bmo_symmetrize_def = {
"symmetrize",
/* slots_in */
{{"input", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE | BM_FACE}},
- {"direction", BMO_OP_SLOT_INT, {(int)BMO_OP_SLOT_SUBTYPE_INT_ENUM}, bmo_enum_axis_xyz}, /* axis to use */
+ {"direction", BMO_OP_SLOT_INT, {(int)BMO_OP_SLOT_SUBTYPE_INT_ENUM}, bmo_enum_axis_neg_xyz_and_xyz}, /* axis to use */
{"dist", BMO_OP_SLOT_FLT}, /* minimum distance */
{{'\0'}},
},