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:
authorCampbell Barton <ideasman42@gmail.com>2018-10-03 01:34:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-03 01:34:50 +0300
commit9596dfc261f88143b7d590bcef06b4756f447770 (patch)
treef53bbaf63144c52cf36f01288ae20027cffac788 /source/blender/editors/mesh/editmesh_extrude.c
parent2497b2d2021a413a2b70fdb0a1221ff78b08aa99 (diff)
Extrude: add normal flip to mesh.extrude_context
Was giving errors on each access.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r--source/blender/editors/mesh/editmesh_extrude.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c
index 08f491eb8d4..714ff10f6ca 100644
--- a/source/blender/editors/mesh/editmesh_extrude.c
+++ b/source/blender/editors/mesh/editmesh_extrude.c
@@ -500,6 +500,7 @@ void MESH_OT_extrude_context(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ RNA_def_boolean(ot->srna, "use_normal_flip", false, "Flip Normals", "");
Transform_Properties(ot, P_NO_DEFAULTS | P_MIRROR_DUMMY);
#ifdef USE_GIZMO