diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:20:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:20:16 +0300 |
commit | 16a8f35df1aa410134f273f7693c33f8ac8d337b (patch) | |
tree | 8338c705d1d841c9a0f6f60f0c741ee95b39c4b2 /release/scripts/presets | |
parent | d15bff5e9689f2f833fdf208368a10c63a416ea9 (diff) |
Keymap: 2.7x, use fractions
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/blender_27x.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/release/scripts/presets/keyconfig/blender_27x.py b/release/scripts/presets/keyconfig/blender_27x.py index 822bbe957a7..9410c20bac2 100644 --- a/release/scripts/presets/keyconfig/blender_27x.py +++ b/release/scripts/presets/keyconfig/blender_27x.py @@ -354,16 +354,16 @@ kmi_props_setattr(kmi.properties, 'data_path', 'area.type') kmi_props_setattr(kmi.properties, 'value', 'DOPESHEET_EDITOR') kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_PLUS', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path', 'user_preferences.inputs.ndof_sensitivity') -kmi_props_setattr(kmi.properties, 'value', 1.100000023841858) +kmi_props_setattr(kmi.properties, 'value', 1.1) kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_MINUS', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path', 'user_preferences.inputs.ndof_sensitivity') -kmi_props_setattr(kmi.properties, 'value', 0.9090908765792847) +kmi_props_setattr(kmi.properties, 'value', 1.0 / 1.0) kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_PLUS', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'data_path', 'user_preferences.inputs.ndof_sensitivity') kmi_props_setattr(kmi.properties, 'value', 1.5) kmi = km.keymap_items.new('wm.context_scale_float', 'NDOF_BUTTON_MINUS', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'data_path', 'user_preferences.inputs.ndof_sensitivity') -kmi_props_setattr(kmi.properties, 'value', 0.6666666865348816) +kmi_props_setattr(kmi.properties, 'value', 2.0 / 3.0) kmi = km.keymap_items.new('info.reports_display_update', 'TIMER_REPORT', 'ANY', any=True) # Map Screen @@ -1247,9 +1247,9 @@ kmi = km.keymap_items.new('brush.active_index_set', 'ZERO', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'mode', 'image_paint') kmi_props_setattr(kmi.properties, 'index', 19) kmi = km.keymap_items.new('brush.scale_size', 'LEFT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 0.8999999761581421) +kmi_props_setattr(kmi.properties, 'scalar', 0.9) kmi = km.keymap_items.new('brush.scale_size', 'RIGHT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 1.1111111640930176) +kmi_props_setattr(kmi.properties, 'scalar', 1.0 / 0.9) kmi = km.keymap_items.new('wm.radial_control', 'F', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path_primary', 'tool_settings.image_paint.brush.size') kmi_props_setattr(kmi.properties, 'data_path_secondary', 'tool_settings.unified_paint_settings.size') @@ -1390,9 +1390,9 @@ kmi = km.keymap_items.new('brush.active_index_set', 'ZERO', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'mode', 'vertex_paint') kmi_props_setattr(kmi.properties, 'index', 19) kmi = km.keymap_items.new('brush.scale_size', 'LEFT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 0.8999999761581421) +kmi_props_setattr(kmi.properties, 'scalar', 0.9) kmi = km.keymap_items.new('brush.scale_size', 'RIGHT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 1.1111111640930176) +kmi_props_setattr(kmi.properties, 'scalar', 1.0 / 0.9) kmi = km.keymap_items.new('wm.radial_control', 'F', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path_primary', 'tool_settings.vertex_paint.brush.size') kmi_props_setattr(kmi.properties, 'data_path_secondary', 'tool_settings.unified_paint_settings.size') @@ -1525,9 +1525,9 @@ kmi = km.keymap_items.new('brush.active_index_set', 'ZERO', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'mode', 'weight_paint') kmi_props_setattr(kmi.properties, 'index', 19) kmi = km.keymap_items.new('brush.scale_size', 'LEFT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 0.8999999761581421) +kmi_props_setattr(kmi.properties, 'scalar', 0.9) kmi = km.keymap_items.new('brush.scale_size', 'RIGHT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 1.1111111640930176) +kmi_props_setattr(kmi.properties, 'scalar', 1.0 / 0.9) kmi = km.keymap_items.new('wm.radial_control', 'F', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path_primary', 'tool_settings.weight_paint.brush.size') kmi_props_setattr(kmi.properties, 'data_path_secondary', 'tool_settings.unified_paint_settings.size') @@ -1680,9 +1680,9 @@ kmi = km.keymap_items.new('brush.active_index_set', 'ZERO', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'mode', 'sculpt') kmi_props_setattr(kmi.properties, 'index', 19) kmi = km.keymap_items.new('brush.scale_size', 'LEFT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 0.8999999761581421) +kmi_props_setattr(kmi.properties, 'scalar', 0.9) kmi = km.keymap_items.new('brush.scale_size', 'RIGHT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 1.1111111640930176) +kmi_props_setattr(kmi.properties, 'scalar', 1.0 / 0.9) kmi = km.keymap_items.new('wm.radial_control', 'F', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path_primary', 'tool_settings.sculpt.brush.size') kmi_props_setattr(kmi.properties, 'data_path_secondary', 'tool_settings.unified_paint_settings.size') @@ -2690,9 +2690,9 @@ kmi_props_setattr(kmi.properties, 'mode', 'INVERT') kmi = km.keymap_items.new('sculpt.uv_sculpt_stroke', 'LEFTMOUSE', 'PRESS', shift=True) kmi_props_setattr(kmi.properties, 'mode', 'RELAX') kmi = km.keymap_items.new('brush.scale_size', 'LEFT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 0.8999999761581421) +kmi_props_setattr(kmi.properties, 'scalar', 0.9) kmi = km.keymap_items.new('brush.scale_size', 'RIGHT_BRACKET', 'PRESS') -kmi_props_setattr(kmi.properties, 'scalar', 1.1111111640930176) +kmi_props_setattr(kmi.properties, 'scalar', 1.0 / 0.9) kmi = km.keymap_items.new('wm.radial_control', 'F', 'PRESS') kmi_props_setattr(kmi.properties, 'data_path_primary', 'tool_settings.uv_sculpt.brush.size') kmi_props_setattr(kmi.properties, 'data_path_secondary', 'tool_settings.unified_paint_settings.size') @@ -3091,9 +3091,9 @@ kmi = km.keymap_items.new('node.links_cut', 'LEFTMOUSE', 'PRESS', ctrl=True) kmi = km.keymap_items.new('node.select_link_viewer', 'LEFTMOUSE', 'PRESS', shift=True, ctrl=True) kmi = km.keymap_items.new('node.backimage_move', 'MIDDLEMOUSE', 'PRESS', alt=True) kmi = km.keymap_items.new('node.backimage_zoom', 'V', 'PRESS') -kmi_props_setattr(kmi.properties, 'factor', 0.833329975605011) +kmi_props_setattr(kmi.properties, 'factor', 1.0 / 1.2) kmi = km.keymap_items.new('node.backimage_zoom', 'V', 'PRESS', alt=True) -kmi_props_setattr(kmi.properties, 'factor', 1.2000000476837158) +kmi_props_setattr(kmi.properties, 'factor', 1.2) kmi = km.keymap_items.new('node.backimage_fit', 'HOME', 'PRESS', alt=True) kmi = km.keymap_items.new('node.backimage_sample', 'ACTIONMOUSE', 'PRESS', alt=True) kmi = km.keymap_items.new('node.link_make', 'F', 'PRESS') |