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:
Diffstat (limited to 'uv_magic_uv/muv_packuv_ops.py')
-rw-r--r--uv_magic_uv/muv_packuv_ops.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/uv_magic_uv/muv_packuv_ops.py b/uv_magic_uv/muv_packuv_ops.py
index 66d32766..f663e662 100644
--- a/uv_magic_uv/muv_packuv_ops.py
+++ b/uv_magic_uv/muv_packuv_ops.py
@@ -20,8 +20,8 @@
__author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production"
-__version__ = "4.4"
-__date__ = "2 Aug 2017"
+__version__ = "4.5"
+__date__ = "19 Nov 2017"
from math import fabs
from collections import defaultdict
@@ -30,10 +30,10 @@ import bpy
import bmesh
import mathutils
from bpy.props import (
- FloatProperty,
- FloatVectorProperty,
- BoolProperty,
- )
+ FloatProperty,
+ FloatVectorProperty,
+ BoolProperty,
+)
from mathutils import Vector
from . import muv_common
@@ -279,7 +279,7 @@ class MUV_PackUV(bpy.types.Operator):
uv_island_lists = []
faces_left = set(self.__face_to_verts.keys())
- while len(faces_left) > 0:
+ while faces_left:
current_island = []
face_idx = list(faces_left)[0]
self.__parse_island(bm, face_idx, faces_left, current_island)