diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-12 11:48:46 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-12 11:48:46 +0300 |
commit | 2476c0b4b2789e65f1ef95989d4e42dfd784be45 (patch) | |
tree | 5271a2e526ec90b0eef905d98a82e2d83083c4bf | |
parent | 7a6516c3e98ffa9cec21f490be733ee6d49a6424 (diff) |
FBX IO: Attempt to fix compat of custom props export.
Looks like 'flags' of custom props are always supposed to be `A+U`, for
some... reasons? See T69554 discussions.
-rw-r--r-- | io_scene_fbx/__init__.py | 2 | ||||
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index bb0f8ae1..893c13d2 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "FBX format", "author": "Campbell Barton, Bastien Montagne, Jens Restemeier", - "version": (4, 20, 0), + "version": (4, 20, 1), "blender": (2, 81, 6), "location": "File > Import-Export", "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions", diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index f71e89a8..c35399b2 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -594,10 +594,12 @@ def _elem_props_flags(animatable, animated, custom): return b"A+U" return b"A+" if custom: - return b"AU" + # Seems that customprops always need those 'flags', see T69554. Go figure... + return b"A+U" return b"A" if custom: - return b"U" + # Seems that customprops always need those 'flags', see T69554. Go figure... + return b"A+U" return b"" |