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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-16 01:35:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-16 01:37:18 +0300
commit0f21b64b1a981a4b38917c7ae7b63f96f69b0c3b (patch)
treef60c7ec36d243b0109d0e5f50d723f304b85ee08 /release/scripts/modules/bpy/utils/__init__.py
parentbe66428a8fc5d89ec1d8b5bad53f67f65a7075cf (diff)
WM: fix hard coded rename
Currently the filenames are used when setting keymaps. This hard coded naming meant the preset and setting function need to be kept in sync. Prefer to not have hard coded replacements which need to be duplicated.
Diffstat (limited to 'release/scripts/modules/bpy/utils/__init__.py')
-rw-r--r--release/scripts/modules/bpy/utils/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py
index 835cbe6c110..ba25deddf55 100644
--- a/release/scripts/modules/bpy/utils/__init__.py
+++ b/release/scripts/modules/bpy/utils/__init__.py
@@ -607,9 +607,6 @@ def keyconfig_set(filepath, report=None):
# Get name, exception for default keymap to keep backwards compatibility.
name = splitext(basename(filepath))[0]
- if name == 'blender':
- name = 'Blender'
-
kc_new = keyconfigs.get(name)
if kc_new is None:
if report is not None: