diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-19 16:58:57 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-19 16:58:57 +0300 |
commit | 1adb56d8b01cf1327f58c6fb8b1ccc8b7efd76ad (patch) | |
tree | a9a7338e88619a5c0cdc0a73d2d524faf3f20cc2 /pose_library/__init__.py | |
parent | 756aa930b12bbb16e5ac75b7c9034e36ed61f730 (diff) |
Pose Library: remove unused macros
Remove macro operators that were once used in the default keymap. It was
decided to remove them as the "select an asset and then run an operator
on it" approach was too easy to break.
Diffstat (limited to 'pose_library/__init__.py')
-rw-r--r-- | pose_library/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pose_library/__init__.py b/pose_library/__init__.py index 1105065b..a1820cf0 100644 --- a/pose_library/__init__.py +++ b/pose_library/__init__.py @@ -36,14 +36,13 @@ bl_info = { from typing import List, Tuple _need_reload = "operators" in locals() -from . import gui, keymaps, macros, operators, conversion +from . import gui, keymaps, operators, conversion if _need_reload: import importlib gui = importlib.reload(gui) keymaps = importlib.reload(keymaps) - macros = importlib.reload(macros) operators = importlib.reload(operators) conversion = importlib.reload(conversion) @@ -60,7 +59,6 @@ def register() -> None: bpy.types.WindowManager.poselib_previous_action = bpy.props.PointerProperty(type=bpy.types.Action) operators.register() - macros.register() keymaps.register() gui.register() @@ -68,7 +66,6 @@ def register() -> None: def unregister() -> None: gui.unregister() keymaps.unregister() - macros.unregister() operators.unregister() try: |