Extrude: add normal flip to mesh.extrude_context

Was giving errors on each access.
This commit is contained in:
Campbell Barton 2018-10-03 08:34:50 +10:00
parent 2497b2d202
commit 9596dfc261
Notes: blender-bot 2023-02-14 05:15:14 +01:00
Referenced by issue #57040, Mesh Disappearing after exiting edit mode in sculpt
1 changed files with 1 additions and 0 deletions

View File

@ -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