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.
This commit is contained in:
Bastien Montagne 2019-10-12 10:48:46 +02:00
parent 7a6516c3e9
commit 2476c0b4b2
Notes: blender-bot 2023-02-14 19:08:48 +01:00
Referenced by issue #69554, FBX import does not read custom bone properties
2 changed files with 5 additions and 3 deletions

View File

@ -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",

View File

@ -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""