Cleanup: rename preferences for NDOF sensitivity
Clarify the terms for NDOF translation & rotation sensitivity. Previously translation was named: "ndof_sensitivity" making it sound like it would control rotation as well.
This commit is contained in:
@@ -742,13 +742,13 @@ def km_window(params):
|
||||
# NDOF settings
|
||||
op_panel("USERPREF_PT_ndof_settings", {"type": 'NDOF_BUTTON_MENU', "value": 'PRESS'}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS'},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.1)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.1)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS'},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.0 / 1.1)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.0 / 1.1)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS', "shift": True},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.5)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.5)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS', "shift": True},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 2.0 / 3.0)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 2.0 / 3.0)]}),
|
||||
("info.reports_display_update", {"type": 'TIMER_REPORT', "value": 'ANY', "any": True}, None),
|
||||
])
|
||||
|
||||
|
||||
@@ -205,13 +205,13 @@ def km_window(params):
|
||||
# NDOF settings
|
||||
op_panel("USERPREF_PT_ndof_settings", {"type": 'NDOF_BUTTON_MENU', "value": 'PRESS'}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS'},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.1)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.1)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS'},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.0 / 1.1)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.0 / 1.1)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS', "shift": True},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 1.5)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 1.5)]}),
|
||||
("wm.context_scale_float", {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS', "shift": True},
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_sensitivity"), ("value", 2.0 / 3.0)]}),
|
||||
{"properties": [("data_path", "preferences.inputs.ndof_translation_sensitivity"), ("value", 2.0 / 3.0)]}),
|
||||
("info.reports_display_update", {"type": 'TIMER_REPORT', "value": 'ANY', "any": True}, None),
|
||||
])
|
||||
|
||||
|
||||
@@ -2116,8 +2116,8 @@ class USERPREF_PT_ndof_settings(Panel):
|
||||
layout_header.label(text="Advanced")
|
||||
if layout_advanced:
|
||||
col = layout_advanced.column()
|
||||
col.prop(props, "ndof_sensitivity", text="Pan Sensitivity")
|
||||
col.prop(props, "ndof_orbit_sensitivity")
|
||||
col.prop(props, "ndof_translation_sensitivity")
|
||||
col.prop(props, "ndof_rotation_sensitivity")
|
||||
col.prop(props, "ndof_deadzone")
|
||||
|
||||
col.separator()
|
||||
|
||||
Reference in New Issue
Block a user