From 8367abeeb9622b9d175ebd4488d1a3fcc9830057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 4 Sep 2018 15:36:38 +0200 Subject: [PATCH] Fixed bad registration --- blender_cloud/flamenco/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/blender_cloud/flamenco/__init__.py b/blender_cloud/flamenco/__init__.py index 4882702..543399e 100644 --- a/blender_cloud/flamenco/__init__.py +++ b/blender_cloud/flamenco/__init__.py @@ -817,8 +817,10 @@ def flamenco_do_override_output_path_updated(scene, context): # FlamencoManagerGroup needs to be registered before classes that use it. _rna_classes = [FlamencoManagerGroup] _rna_classes.extend( - cls for cls in locals() - if isinstance(cls, type) and hasattr(cls, 'bl_rna') and cls not in _rna_classes + cls for cls in locals().values() + if (isinstance(cls, type) + and cls.__name__.startswith('FLAMENCO') + and cls not in _rna_classes) )