diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-07-02 17:39:09 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-07-02 17:39:09 +0400 |
commit | df966fb0c54446197e5d72e0e1132ed15459c8b9 (patch) | |
tree | 98bb0dfd50d2d29c71e36c3cf3714e279e4a6a61 /io_scene_fbx/export_fbx.py | |
parent | b9847160f72ddb0f34728cfe48ca003e8524ccb4 (diff) |
Fix T40904: FBX exporter does not store parameter, which is used in FBX SDKs FbxProperty::IsValid()
Each time I think I have reach the limits of the crappyness of this "format", it manages to amaze
me again! This time, looks like SDK expects always the same values in the 'templates' (Definitions),
else it declares properties as invalid! One would have to explain me the interest/need to write
those default values in the file, up to this point...
Anyway, went over all defaults I could gather from 'official' FBX files, and replaced the few
ones I had change (because it was better suited to Blender's data). Hopefully it'll be OK now.
Thanks to FslNopper (Norbert Nopper), which helped me troubleshooting this stuff!
There is a good thing here though - it made me find how textures are linked to UVMaps
(by mere names, 'UVSet' property of texture nodes).
Diffstat (limited to 'io_scene_fbx/export_fbx.py')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index bea02a82..ee980198 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1505,7 +1505,6 @@ def save_single(operator, scene, filepath="", raise Exception("invalid mesh_smooth_type: %r" % mesh_smooth_type) # Write VertexColor Layers - # note, no programs seem to use this info :/ collayers = [] if len(me.vertex_colors): collayers = me.vertex_colors |