forked from bartvdbraak/blender
bpy.utils.register_module() generator could go into eternal loop.
This commit is contained in:
parent
2f4f046b6f
commit
17efeb310d
@ -588,7 +588,8 @@ def _bpy_module_classes(module, is_registered=False):
|
||||
|
||||
if cls is None:
|
||||
del typemap_list[i]
|
||||
elif is_registered == ("bl_rna" in cls.__dict__):
|
||||
else:
|
||||
if is_registered == ("bl_rna" in cls.__dict__):
|
||||
yield (cls, path, line)
|
||||
i += 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user