Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-05-22 22:25:28 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-05-22 22:25:28 +0300
commit5a7cd7d9b3f7f284ef54be27291d876a999bf48f (patch)
tree37540b6f1788dd00bee4e48f40d588ed66a8e3cc
parent189552a857956f30bf3bed28e98b1a087f47f86f (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...
-rw-r--r--io_scene_fbx/export_fbx_bin.py6
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):