diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-05-22 22:25:28 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-05-22 22:25:28 +0300 |
commit | 5a7cd7d9b3f7f284ef54be27291d876a999bf48f (patch) | |
tree | 37540b6f1788dd00bee4e48f40d588ed66a8e3cc /io_scene_fbx | |
parent | 189552a857956f30bf3bed28e98b1a087f47f86f (diff) |
Attempt to fix T44442: Avoid '.fbm' dir creation by not creating empty 'Content' elements.
This sounds suspicious to me, but it’s FBX, so could be the solution, we'll see...
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index ff8581c8..076fc1d7 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -1377,8 +1377,10 @@ def fbx_data_video_elements(root, vid, scene_data): except Exception as e: print("WARNING: embedding file {} failed ({})".format(filepath, e)) elem_data_single_bytes(fbx_vid, b"Content", b"") - else: - elem_data_single_bytes(fbx_vid, b"Content", b"") + # Looks like we'd rather not write any 'Content' element in this case (see T44442). + # Sounds suspect, but let's try it! + #~ else: + #~ elem_data_single_bytes(fbx_vid, b"Content", b"") def fbx_data_armature_elements(root, arm_obj, scene_data): |