UI: rename rotate to orbit for viewport sensitivity
Matches names of related preferences.
This commit is contained in:
parent
cd02fe5d70
commit
8b4f00269c
|
@ -5236,14 +5236,14 @@ static void rna_def_userdef_input(BlenderRNA *brna)
|
|||
RNA_def_property_float_default(prop, DEG2RADF(0.4f));
|
||||
RNA_def_property_ui_range(prop, DEG2RADF(0.001f), DEG2RADF(15.0f), 1.0f, 2);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Rotate Sensitivity",
|
||||
"Rotation amount per-pixel to control how fast the viewport rotates");
|
||||
"Orbit Sensitivity",
|
||||
"Rotation amount per-pixel to control how fast the viewport orbits");
|
||||
|
||||
prop = RNA_def_property(srna, "view_rotate_sensitivity_trackball", PROP_FLOAT, PROP_FACTOR);
|
||||
RNA_def_property_range(prop, 0.1f, 10.0f);
|
||||
RNA_def_property_float_default(prop, 1.0f);
|
||||
RNA_def_property_ui_range(prop, 0.1f, 2.0f, 0.01f, 2);
|
||||
RNA_def_property_ui_text(prop, "Rotate Sensitivity", "Scale trackball rotation sensitivity");
|
||||
RNA_def_property_ui_text(prop, "Orbit Sensitivity", "Scale trackball orbit sensitivity");
|
||||
|
||||
/* tweak tablet & mouse preset */
|
||||
prop = RNA_def_property(srna, "drag_threshold_mouse", PROP_INT, PROP_PIXEL);
|
||||
|
|
Loading…
Reference in New Issue