diff --git a/pose_library/gui.py b/pose_library/gui.py index e54a968a673812778fcfcbfa82f42acbcbb916bd..4518527a9d7b95371479157c3723514d4c338334 100644 --- a/pose_library/gui.py +++ b/pose_library/gui.py @@ -209,7 +209,7 @@ def register() -> None: WindowManager.pose_assets = bpy.props.CollectionProperty(type=AssetHandle) bpy.types.UI_MT_list_item_context_menu.prepend(pose_library_list_item_context_menu) - bpy.types.FILEBROWSER_MT_context_menu.prepend(pose_library_list_item_context_menu) + bpy.types.ASSETBROWSER_MT_context_menu.prepend(pose_library_list_item_context_menu) def unregister() -> None: @@ -219,4 +219,4 @@ def unregister() -> None: del WindowManager.pose_assets bpy.types.UI_MT_list_item_context_menu.remove(pose_library_list_item_context_menu) - bpy.types.FILEBROWSER_MT_context_menu.remove(pose_library_list_item_context_menu) + bpy.types.ASSETBROWSER_MT_context_menu.remove(pose_library_list_item_context_menu)