From 733df5420693fdcf9ffa587395564ad7ab8bae45 Mon Sep 17 00:00:00 2001
From: mifth <paulgeraskin@gmail.com>
Date: Fri, 13 Dec 2013 13:13:46 +0400
Subject: [PATCH] [TextureAtlas] small fix.

---
 uv_texture_atlas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py
index 005477f54..8bdc1b4ae 100644
--- a/uv_texture_atlas.py
+++ b/uv_texture_atlas.py
@@ -696,7 +696,7 @@ class TexAtl_SeparateObjects(Operator):
                     scene.objects.active = ob_merged
 
                     bpy.ops.object.mode_set(mode='EDIT')
-                    if doUnhidePolygons == False:
+                    if doUnhidePolygons is False:
                         # Unhide Polygons only once
                         bpy.ops.mesh.reveal()
                         doUnhidePolygons = True
-- 
GitLab