From 1dea802932f2236cce652df7636b7b6cfdec2385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 21 Jun 2019 14:29:07 +0200 Subject: [PATCH] Attract doesn't have to be active to use ATTRACT_OT_open_meta_blendfile It is pretty much independent of Attract. --- blender_cloud/attract/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blender_cloud/attract/__init__.py b/blender_cloud/attract/__init__.py index 695933b..8286d49 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -640,8 +640,7 @@ class ATTRACT_OT_open_meta_blendfile(AttractOperatorMixin, Operator): @classmethod def poll(cls, context): - return AttractOperatorMixin.poll(context) and \ - bool(any(cls.filename_from_metadata(s) for s in context.selected_sequences)) + return bool(any(cls.filename_from_metadata(s) for s in context.selected_sequences)) @staticmethod def filename_from_metadata(strip):