diff options
author | mifth <paulgeraskin@gmail.com> | 2016-10-05 20:49:32 +0300 |
---|---|---|
committer | mifth <paulgeraskin@gmail.com> | 2016-10-05 20:49:32 +0300 |
commit | 77f61a1627cb5fc295515d10d44737ecf8309ea8 (patch) | |
tree | 7351e9be0b81ef997e7ad35814b99f7e8160fcda /uv_texture_atlas.py | |
parent | 4e3a525984f9b3fb4502520f175faec8a2380aa8 (diff) |
[TextureAtlas] fix according to this report for blender 2.78 https://blenderartists.org/forum/showthread.php?265750-TextureAtlas-create-LightMaps-ShadowMaps-for-entire-scene&p=3106516&viewfull=1#post3106516
Diffstat (limited to 'uv_texture_atlas.py')
-rw-r--r-- | uv_texture_atlas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py index 72ffadd6..a97168f2 100644 --- a/uv_texture_atlas.py +++ b/uv_texture_atlas.py @@ -498,7 +498,7 @@ class TexAtl_DelLightmapGroup(Operator): obj.hide_render = False obj.hide = False - bpy.data.groups.remove(group) + bpy.data.groups.remove(group, do_unlink=True) # Remove Lightmap Group scene.ms_lightmap_groups.remove(scene.ms_lightmap_groups_index) |