diff options
-rw-r--r-- | pose_library/operators.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pose_library/operators.py b/pose_library/operators.py index e4e9c9af..49e3b50b 100644 --- a/pose_library/operators.py +++ b/pose_library/operators.py @@ -440,6 +440,8 @@ class POSELIB_OT_apply_pose_asset_for_keymap(Operator): @classmethod def poll(cls, context: Context) -> bool: + if not asset_utils.SpaceAssetInfo.is_asset_browser(context.space_data): + return False return bpy.ops.poselib.apply_pose_asset.poll(context.copy()) def execute(self, context: Context) -> Set[str]: |