Collection Manager: Fix Hotkey Bug. Task: T69577

Fix bug where QCD hotkeys would get registered twice when toggling the QCD checkbox in the preferences off and then on again.
This commit is contained in:
Ryan Inch 2021-02-15 23:23:24 -05:00
parent ad37554034
commit 2b1d58fe8e
2 changed files with 1 additions and 7 deletions

View File

@ -22,7 +22,7 @@ bl_info = {
"name": "Collection Manager",
"description": "Manage collections and their objects",
"author": "Ryan Inch",
"version": (2, 19, 2),
"version": (2, 19, 3),
"blender": (2, 80, 0),
"location": "View3D - Object Mode (Shortcut - M)",
"warning": '', # used for warning icon and text in addons panel

View File

@ -40,12 +40,6 @@ def update_qcd_status(self, context):
if self.enable_qcd:
qcd_init.register_qcd()
if self.enable_qcd_view_hotkeys:
qcd_init.register_qcd_view_hotkeys()
if self.enable_qcd_view_edit_mode_hotkeys:
qcd_init.register_qcd_view_edit_mode_hotkeys()
else:
qcd_init.unregister_qcd()