FBX Export: add .blend file path to the FBX header.
It's handy being able to track where fbx files originate from. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D13788
This commit is contained in:
parent
1b0254b531
commit
ed42feaed5
|
@ -21,7 +21,7 @@
|
|||
bl_info = {
|
||||
"name": "FBX format",
|
||||
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
|
||||
"version": (4, 28, 0),
|
||||
"version": (4, 29, 0),
|
||||
"blender": (2, 90, 0),
|
||||
"location": "File > Import-Export",
|
||||
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
|
||||
|
|
|
@ -2769,6 +2769,7 @@ def fbx_header_elements(root, scene_data, time=None):
|
|||
lastsaved("p_string", b"ApplicationName", app_name)
|
||||
lastsaved("p_string", b"ApplicationVersion", app_ver)
|
||||
lastsaved("p_datetime", b"DateTime_GMT", "01/01/1970 00:00:00.000")
|
||||
original("p_string", b"ApplicationNativeFile", bpy.data.filepath)
|
||||
|
||||
# ##### End of FBXHeaderExtension element.
|
||||
|
||||
|
|
Loading…
Reference in New Issue