bpy.utils.register_module() generator could go into eternal loop.
This commit is contained in:
@@ -588,8 +588,9 @@ def _bpy_module_classes(module, is_registered=False):
|
|||||||
|
|
||||||
if cls is None:
|
if cls is None:
|
||||||
del typemap_list[i]
|
del typemap_list[i]
|
||||||
elif is_registered == ("bl_rna" in cls.__dict__):
|
else:
|
||||||
yield (cls, path, line)
|
if is_registered == ("bl_rna" in cls.__dict__):
|
||||||
|
yield (cls, path, line)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user