Correct recent keymap change, writing all keymaps

This commit is contained in:
Campbell Barton 2018-07-07 20:03:30 +02:00
parent 8467a7a351
commit b5811bccf8
Notes: blender-bot 2023-02-14 08:06:38 +01:00
Referenced by issue #55854, Sculpt Mode:  Texture → Click New button  Crash
Referenced by issue #55849, Blender 2.80 Alpha broke when I push F12 key
Referenced by issue #55851, macOS Eevee Render Crash
Referenced by issue #55852, Texture Paint TopBar Color settings do not work
Referenced by issue #55805, f12 render crash eevee
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def keyconfig_export_as_data(wm, kc, filepath):
keymaps = []
edited_kc = FakeKeyConfig()
for km in wm.keyconfigs.user.keymaps:
if km.is_user_modified or True:
if km.is_user_modified:
edited_kc.keymaps.append(km)
# merge edited keymaps with non-default keyconfig, if it exists
if kc != wm.keyconfigs.default: