Fix T39879: extra UV seams where meshes overlap.

This is not a bug, in fact, but imho we do not need to compare exactness of values
up to the 6th decimal, 4th decimal should be enough, and will avoid such cases of
"over generation" of data...
This commit is contained in:
Bastien Montagne 2014-05-11 22:01:41 +02:00
parent 031bb41901
commit 887fad6a01
Notes: blender-bot 2023-02-14 19:44:17 +01:00
Referenced by issue blender/blender#39879, extra UV seams where meshes overlap
Referenced by issue #49865, export .obj broke UVs
1 changed files with 2 additions and 2 deletions

View File

@ -271,10 +271,10 @@ def write_file(filepath, objects, scene,
EXPORT_GLOBAL_MATRIX = mathutils.Matrix()
def veckey3d(v):
return round(v.x, 6), round(v.y, 6), round(v.z, 6)
return round(v.x, 4), round(v.y, 4), round(v.z, 4)
def veckey2d(v):
return round(v[0], 6), round(v[1], 6)
return round(v[0], 4), round(v[1], 4)
def findVertexGroupName(face, vWeightMap):
"""