forked from bartvdbraak/blender
Fix T47016: curve tilt value in N (redo) panel to much precise with mouse dragging.
Let's just use dafaults of angle props here. :)
This commit is contained in:
parent
6703c1df4e
commit
7ac5f2fef6
@ -684,8 +684,6 @@ static void TRANSFORM_OT_rotate(struct wmOperatorType *ot)
|
||||
|
||||
static void TRANSFORM_OT_tilt(struct wmOperatorType *ot)
|
||||
{
|
||||
PropertyRNA *prop;
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Tilt";
|
||||
/* optionals -
|
||||
@ -702,8 +700,7 @@ static void TRANSFORM_OT_tilt(struct wmOperatorType *ot)
|
||||
ot->cancel = transform_cancel;
|
||||
ot->poll = ED_operator_editcurve_3d;
|
||||
|
||||
prop = RNA_def_float(ot->srna, "value", 0.0, -FLT_MAX, FLT_MAX, "Angle", "", -M_PI * 2, M_PI * 2);
|
||||
RNA_def_property_subtype(prop, PROP_ANGLE);
|
||||
RNA_def_float_rotation(ot->srna, "value", 0, NULL, -FLT_MAX, FLT_MAX, "Angle", "", -M_PI * 2, M_PI * 2);
|
||||
|
||||
Transform_Properties(ot, P_PROPORTIONAL | P_MIRROR | P_SNAP);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user