diff options
author | mifth <paulgeraskin@gmail.com> | 2016-10-05 20:49:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-19 15:42:28 +0300 |
commit | c447cbcb6906f6f7cecad2aa2e9dfc74bedddcf7 (patch) | |
tree | 320bbd5116cded1c5e31eb6140018b8f6364e178 | |
parent | 5e7d0fc12643b7029fa2e2e7615d54cb1887d4b8 (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
-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) |