diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-12-06 08:45:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-12-06 08:45:51 +0300 |
commit | e6404274a1eb0ed5f50445f5c7840720a03713fa (patch) | |
tree | f083a8422baa3aff3252ba4c003afa59a0ddec4f /source/blender | |
parent | 9ab430e9cbe70de3780f7444fc5befc10d925b46 (diff) |
Fix T53441: Inset doesn't start at zero
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/mesh/editmesh_inset.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_inset.c b/source/blender/editors/mesh/editmesh_inset.c index 3dd199f1615..afe52ec69f4 100644 --- a/source/blender/editors/mesh/editmesh_inset.c +++ b/source/blender/editors/mesh/editmesh_inset.c @@ -525,8 +525,11 @@ void MESH_OT_inset(wmOperatorType *ot) prop = RNA_def_float_distance(ot->srna, "thickness", 0.01f, 0.0f, 1e12f, "Thickness", "", 0.0f, 10.0f); /* use 1 rather then 10 for max else dragging the button moves too far */ RNA_def_property_ui_range(prop, 0.0, 1.0, 0.01, 4); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); + prop = RNA_def_float_distance(ot->srna, "depth", 0.0f, -1e12f, 1e12f, "Depth", "", -10.0f, 10.0f); RNA_def_property_ui_range(prop, -10.0f, 10.0f, 0.01, 4); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); RNA_def_boolean(ot->srna, "use_outset", false, "Outset", "Outset rather than inset"); RNA_def_boolean(ot->srna, "use_select_inset", false, "Select Outer", "Select the new inset faces"); |