Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-02-22 18:33:24 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-02-22 18:33:24 +0300
commitb6c61945aed51d86dc474df616761f9a25d71d09 (patch)
tree2e3e6be54f763a3054399c799bb40e4514f870db /release
parent7372058649666c7b0425c2f4d1a688a65ad11e61 (diff)
Fix T55921: Toggling visibility for collections doesn't work in Pose
It is always dangerous to add more shortcuts those days. But this way it is consistent with 2.79 to a point. When in edit mode (mesh, greasepencil, ...) 1-3 to change submode still has priority. When in posemode or greasepencil draw mode however, 1-9 can still be used to temporarily get some collections out of the way.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index df7992adc0f..8ffc1cbbf2c 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -1073,6 +1073,14 @@ def km_view3d(params):
op_panel("VIEW3D_PT_snapping", {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True}, [("keep_open", False)]),
("object.transform_axis_target", {"type": 'T', "value": 'PRESS', "shift": True}, None),
("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
+ ("object.hide_collection", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
+ *(
+ (("object.hide_collection",
+ {"type": NUMBERS_1[i], "value": 'PRESS', "any": True},
+ {"properties": [("collection_index", i + 1)]})
+ for i in range(10)
+ )
+ ),
])
if params.apple:
@@ -3401,14 +3409,6 @@ def km_object_mode(params):
{"properties": [("unselected", False)]}),
("object.hide_view_set", {"type": 'H', "value": 'PRESS', "shift": True},
{"properties": [("unselected", True)]}),
- ("object.hide_collection", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
- *(
- (("object.hide_collection",
- {"type": NUMBERS_1[i], "value": 'PRESS', "any": True},
- {"properties": [("collection_index", i + 1)]})
- for i in range(10)
- )
- ),
])
if params.legacy: