[Bf-extensions-cvs] [c447cbc] blender-v2.78-release: [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 19 14:43:07 CEST 2016
Commit: c447cbcb6906f6f7cecad2aa2e9dfc74bedddcf7
Author: mifth
Date: Wed Oct 5 20:49:32 2016 +0300
Branches: blender-v2.78-release
https://developer.blender.org/rBAc447cbcb6906f6f7cecad2aa2e9dfc74bedddcf7
[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