diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-16 09:35:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-16 09:35:44 +0400 |
commit | fcc4251c07c6bc4ca5a121d224d40d3655af9a03 (patch) | |
tree | bbb12803bbf891f6b0e22e61a021c378d557fba1 /source/blender/editors/mesh/editmesh_extrude.c | |
parent | 72abfbfc9514ff18e5d96e17ef42cc6777b8cf5a (diff) |
resolve [#33374] Extrude and mirror editing
mirror editing option was only added to extrude so mirror editing would always be disabled.
the option is now hidden to avoid confusing users.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index cccf08cfe1a..65c528dbe03 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -46,6 +46,7 @@ #include "ED_mesh.h" #include "ED_screen.h" +#include "ED_transform.h" #include "ED_view3d.h" #include "mesh_intern.h" /* own include */ @@ -429,7 +430,7 @@ void MESH_OT_extrude_region(wmOperatorType *ot) /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); + Transform_Properties(ot, P_NO_DEFAULTS | P_MIRROR_DUMMY); } static int edbm_extrude_verts_exec(bContext *C, wmOperator *op) @@ -460,7 +461,7 @@ void MESH_OT_extrude_verts_indiv(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* to give to transform */ - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); + Transform_Properties(ot, P_NO_DEFAULTS | P_MIRROR_DUMMY); } static int edbm_extrude_edges_exec(bContext *C, wmOperator *op) @@ -491,7 +492,7 @@ void MESH_OT_extrude_edges_indiv(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* to give to transform */ - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); + Transform_Properties(ot, P_NO_DEFAULTS | P_MIRROR_DUMMY); } static int edbm_extrude_faces_exec(bContext *C, wmOperator *op) @@ -521,7 +522,7 @@ void MESH_OT_extrude_faces_indiv(wmOperatorType *ot) /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); + Transform_Properties(ot, P_NO_DEFAULTS | P_MIRROR_DUMMY); } /* *************** add-click-mesh (extrude) operator ************** */ |