[Bf-blender-cvs] [9596dfc261f] blender2.8: Extrude: add normal flip to mesh.extrude_context

Campbell Barton noreply at git.blender.org
Wed Oct 3 00:35:57 CEST 2018


Commit: 9596dfc261f88143b7d590bcef06b4756f447770
Author: Campbell Barton
Date:   Wed Oct 3 08:34:50 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB9596dfc261f88143b7d590bcef06b4756f447770

Extrude: add normal flip to mesh.extrude_context

Was giving errors on each access.

===================================================================

M	source/blender/editors/mesh/editmesh_extrude.c

===================================================================

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



More information about the Bf-blender-cvs mailing list