diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-01 03:22:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-01 03:24:36 +0300 |
commit | c1f8268734af40a73661642b1bb3f8d27325dd96 (patch) | |
tree | 4df72cde5400d62fe63e075fa52e4131a42c49ed /source/blender/editors/mesh/editmesh_extrude_spin.c | |
parent | 61bf51acb58f84338d5442141a2352039fa6d5da (diff) |
Fix T60607: Spin tool duplicates after Spin Duplicate
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude_spin.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude_spin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin.c b/source/blender/editors/mesh/editmesh_extrude_spin.c index bf4403e49ee..7cad7e1e062 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin.c @@ -200,7 +200,10 @@ void MESH_OT_spin(wmOperatorType *ot) /* props */ RNA_def_int(ot->srna, "steps", 9, 0, 1000000, "Steps", "Steps", 0, 1000); - RNA_def_boolean(ot->srna, "dupli", 0, "Duplicate", "Make Duplicates"); + + prop = RNA_def_boolean(ot->srna, "dupli", 0, "Use Duplicates", ""); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); + prop = RNA_def_float(ot->srna, "angle", DEG2RADF(90.0f), |