diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-29 10:44:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-29 10:55:47 +0300 |
commit | e017876f78b4fe4ef39706f0c16000935c133071 (patch) | |
tree | 933da4a53fea0391703ec755996da3f021dc16d6 /release/scripts/presets | |
parent | 03957b9487d3ab6ee6e14fb8848d08ca97cd3d70 (diff) |
3D View: add initial view.shading and view.overlay in RNA.
These are mostly empty still, many properties need to be renamed and moved there.
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/3dsmax.py | 4 | ||||
-rw-r--r-- | release/scripts/presets/keyconfig/maya.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/presets/keyconfig/3dsmax.py b/release/scripts/presets/keyconfig/3dsmax.py index d65ecaa9204..1530554812b 100644 --- a/release/scripts/presets/keyconfig/3dsmax.py +++ b/release/scripts/presets/keyconfig/3dsmax.py @@ -586,11 +586,11 @@ kmi.properties.nr = 9 kmi = km.keymap_items.new('view3d.layers', 'ZERO', 'PRESS', any=True) kmi.properties.nr = 10 kmi = km.keymap_items.new('wm.context_toggle_enum', 'F3', 'PRESS') -kmi.properties.data_path = 'space_data.viewport_shade' +kmi.properties.data_path = 'space_data.shading.type' kmi.properties.value_1 = 'SOLID' kmi.properties.value_2 = 'WIREFRAME' kmi = km.keymap_items.new('wm.context_toggle_enum', 'Z', 'PRESS', alt=True) -kmi.properties.data_path = 'space_data.viewport_shade' +kmi.properties.data_path = 'space_data.shading.type' kmi.properties.value_1 = 'SOLID' kmi.properties.value_2 = 'TEXTURED' kmi = km.keymap_items.new('view3d.select_or_deselect_all', 'SELECTMOUSE', 'CLICK') diff --git a/release/scripts/presets/keyconfig/maya.py b/release/scripts/presets/keyconfig/maya.py index 09371e75950..c5d09434452 100644 --- a/release/scripts/presets/keyconfig/maya.py +++ b/release/scripts/presets/keyconfig/maya.py @@ -987,11 +987,11 @@ kmi = km.keymap_items.new('view3d.view_orbit', 'WHEELDOWNMOUSE', 'PRESS', shift= kmi.properties.type = 'ORBITDOWN' kmi = km.keymap_items.new('view3d.localview', 'I', 'PRESS', shift=True) kmi = km.keymap_items.new('wm.context_toggle_enum', 'FOUR', 'PRESS') -kmi.properties.data_path = 'space_data.viewport_shade' +kmi.properties.data_path = 'space_data.shading.type' kmi.properties.value_1 = 'WIREFRAME' kmi.properties.value_2 = 'WIREFRAME' kmi = km.keymap_items.new('wm.context_toggle_enum', 'FIVE', 'PRESS') -kmi.properties.data_path = 'space_data.viewport_shade' +kmi.properties.data_path = 'space_data.shading.type' kmi.properties.value_1 = 'TEXTURED' kmi.properties.value_2 = 'SOLID' kmi = km.keymap_items.new('view3d.select_or_deselect_all', 'SELECTMOUSE', 'CLICK') @@ -1080,7 +1080,7 @@ kmi.properties.rotate = True kmi = km.keymap_items.new('view3d.enable_manipulator', 'R', 'PRESS') kmi.properties.scale = True kmi = km.keymap_items.new('wm.context_toggle_enum', 'SIX', 'PRESS') -kmi.properties.data_path = 'space_data.viewport_shade' +kmi.properties.data_path = 'space_data.shading.type' kmi.properties.value_1 = 'TEXTURED' kmi.properties.value_2 = 'TEXTURED' kmi = km.keymap_items.new('wm.context_set_enum', 'X', 'PRESS') |