Fixed bad registration

This commit is contained in:
Sybren A. Stüvel 2018-09-04 15:36:38 +02:00
parent 2f5f82b1a8
commit 8367abeeb9

View File

@ -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)
)