[Bf-extensions-cvs] [35d5df9b] master: mesh_snap_utilities_line: Update keymap strings

Nathan Craddock noreply at git.blender.org
Thu Feb 4 06:54:40 CET 2021


Commit: 35d5df9bf443b7f03857cffc45a1ba4f7e03de94
Author: Nathan Craddock
Date:   Wed Feb 3 22:49:41 2021 -0700
Branches: master
https://developer.blender.org/rBA35d5df9bf443b7f03857cffc45a1ba4f7e03de94

mesh_snap_utilities_line: Update keymap strings

The keymaps were changed in rB01d49d1542c which caused the
script_load_addons test to fail on this addon. Update the strings to the
new values.

===================================================================

M	mesh_snap_utilities_line/__init__.py

===================================================================

diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py
index cf620ed8..623b0355 100644
--- a/mesh_snap_utilities_line/__init__.py
+++ b/mesh_snap_utilities_line/__init__.py
@@ -128,8 +128,8 @@ def register_keymaps():
     #snap_modalkeymap.assign("MESH_OT_snap_utilities_line")
 def unregister_keymaps():
     keyconfigs = bpy.context.window_manager.keyconfigs
-    defaultmap = keyconfigs.get("blender").keymaps
-    addonmap   = keyconfigs.get("blender addon").keymaps
+    defaultmap = keyconfigs.get("Blender").keymaps
+    addonmap   = keyconfigs.get("Blender addon").keymaps
 
     for keyconfig_data in keys.generate_snap_utilities_global_keymaps():
         km_name, km_args, km_content = keyconfig_data



More information about the Bf-extensions-cvs mailing list