OBJ exporter is not accurate anymore

Blender 2.78 exports OBJ UVs with way more less precision to prevent huge files

as you can see in the picture it causes a huge difference in terms of precision, for people that work in the game industry like me, this kind of data loss is way too much and makes OBJ unusable anymore.

I reported the bug, but they told me that I should use FBX. (meh…)
I don’t like FBX for several reason.
I still prefer OBJ most of the time because in some way it clean up the model, it do not export modifier that are OFF in the viewport (so you have to kill them manually), it freeze transformations and clean up hierarchies, also is a simple format, it is just a list, I NEVER get any sort of problem with obj, I got a lot with FBX.

here is the issue:


HOW TO FIX THIS

At the moment I fixed the problem by copy and paste the ‘io_scene_obj’ folder from Blender 2.77 to 2.78a
this folder is located here, do the same if you need precision.

2.78\scripts\addons

I’m asking to have at least an option to choose what percentage of precision we want for the UVs.
also you should make it super clear!! I discovered this bug after a guy on twitter reported it!

thankyou from one of the heaviest user in the industry.

in line 528 of 2.78 export_obj.py you could change fw('vt %.4f %.4f
’ % uv[:]) to fw('vt %.6f %.6f
’ % uv[:]) to get back those 2 extra decimals -it does the same thing for normals export but don’t know if it’s a problem for you- …or maybe try 5 decimals, could that be a compromise between precision and file size?

btw there’s an ugly problem with one of suzanne’s ears in the new uvs -face 494-

why they move it here?

export obj is not my script, is something that worked and now it doesn’t work anymore.