Fix T53441: Inset doesn't start at zero
This commit is contained in:
parent
9ab430e9cb
commit
e6404274a1
Notes:
blender-bot
2023-02-14 06:21:55 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #53541, Blender don't save recent action values Referenced by issue #53441, 'Inset' function does not start at zero
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue