diff options
Diffstat (limited to 'uv_texture_atlas.py')
-rw-r--r-- | uv_texture_atlas.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py index afbfd318..cfeb611f 100644 --- a/uv_texture_atlas.py +++ b/uv_texture_atlas.py @@ -568,8 +568,12 @@ class TexAtl_MergeObjects(Operator): bpy.ops.object.select_all(action='DESELECT') + # We do the MergeList beacuse we will duplicate grouped objects + mergeList = [] for object in bpy.data.groups[self.group_name].objects: + mergeList.append(object) + for object in mergeList: # make object temporary unhidden isObjHideSelect = object.hide_select object.hide = False @@ -638,6 +642,8 @@ class TexAtl_MergeObjects(Operator): scene.objects.active = ob_merge bpy.ops.object.join() + mergeList.clear() # Clear Merge List + # make Unwrap bpy.ops.object.select_all(action='DESELECT') ob_merge.select = True |