From 887fad6a0196be41aef358f8c8ff828b10f7898f Mon Sep 17 00:00:00 2001
From: Bastien Montagne <montagne29@wanadoo.fr>
Date: Sun, 11 May 2014 22:01:41 +0200
Subject: [PATCH] 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...
---
 io_scene_obj/export_obj.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index b4c779d2f..030fad682 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -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):
         """
-- 
GitLab