From 5a7cd7d9b3f7f284ef54be27291d876a999bf48f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 22 May 2015 21:25:28 +0200 Subject: Attempt to fix T44442: Avoid '.fbm' dir creation by not creating empty 'Content' elements. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This sounds suspicious to me, but it’s FBX, so could be the solution, we'll see... --- io_scene_fbx/export_fbx_bin.py | 6 ++++-- 1 file 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): -- cgit v1.2.3