Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormifth <paulgeraskin@gmail.com>2016-10-05 20:49:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-10-19 15:42:28 +0300
commitc447cbcb6906f6f7cecad2aa2e9dfc74bedddcf7 (patch)
tree320bbd5116cded1c5e31eb6140018b8f6364e178
parent5e7d0fc12643b7029fa2e2e7615d54cb1887d4b8 (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.py2
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)