missed this in recent api edits
authorCampbell Barton <ideasman42@gmail.com>
Thu, 29 Apr 2010 18:40:33 +0000 (18:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 29 Apr 2010 18:40:33 +0000 (18:40 +0000)
release/scripts/op/uvcalc_smart_project.py

index 916940d13845da11e3ee5fa779a5ac0737277673..e0854f3720b7b86ce42c8bb0f05702207c7457dc 100644 (file)
@@ -963,7 +963,7 @@ def main(context, island_margin, projection_limit):
                     newProjectMeshFaces.append(tempMeshFaces.pop(fIdx))
 
             # Add the average of all these faces normals as a projectionVec
-            averageVec = Vector(0.0, 0.0, 0.0)
+            averageVec = Vector((0.0, 0.0, 0.0))
             if USER_AREA_WEIGHT:
                 for fprop in newProjectMeshFaces:
                     averageVec += (fprop.no * fprop.area)