@ -64,6 +64,8 @@ class _LightingOperator:
for material, lg in self._old_lightgroups.items():
_fake = material.light_group
if _fake is not None:
for i in _fake.objects:
_fake.objects.unlink(i)
_fake.user_clear()
bpy.data.groups.remove(_fake)
material.light_group = lg