Skip to content
Snippets Groups Projects
Commit e69c63dd authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Pose Library: remove "Open In Blender" from context menu

Remove the "Open In Blender" (`ASSET_OT_open_containing_blend_file`)
operator from the asset browser poselib-specific context menu. This option
is now added by the asset browser itself, and thus was appearing twice.
parent 6fb64557
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,8 @@ def pose_library_list_item_context_menu(self: UIList, context: Context) -> None:
props.select = False
layout.separator()
layout.operator("asset.open_containing_blend_file")
if is_pose_asset_view():
layout.operator("asset.open_containing_blend_file")
class ASSETBROWSER_PT_pose_library_usage(asset_utils.AssetBrowserSpecificCategoryPanel, Panel):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment