[Bf-extensions-cvs] [77f61a1] master: [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
mifth
noreply at git.blender.org
Wed Oct 5 19:49:35 CEST 2016
Commit: 77f61a1627cb5fc295515d10d44737ecf8309ea8
Author: mifth
Date: Wed Oct 5 20:49:32 2016 +0300
Branches: master
https://developer.blender.org/rBA77f61a1627cb5fc295515d10d44737ecf8309ea8
[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
===================================================================
M uv_texture_atlas.py
===================================================================
diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py
index 72ffadd..a97168f 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)
More information about the Bf-extensions-cvs
mailing list