Fix T52029: Blender 2.78a doesn't import user properties from FBX file.
Customprop handling helper was called with wrong data for objects and bones. Many thanks to Nik S (@proteamer) for spotting the issue, investigating it and finding the solution!
This commit is contained in:
parent
2316aea462
commit
4e25de776a
Notes:
blender-bot
2023-02-14 19:37:41 +01:00
Referenced by issue #52029, Blender 2.78a doesn't import user properties from FBX file
|
@ -21,7 +21,7 @@
|
|||
bl_info = {
|
||||
"name": "FBX format",
|
||||
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
|
||||
"version": (3, 7, 11),
|
||||
"version": (3, 7, 12),
|
||||
"blender": (2, 77, 0),
|
||||
"location": "File > Import-Export",
|
||||
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
|
||||
|
|
|
@ -1923,7 +1923,7 @@ class FbxImportHelperNode:
|
|||
obj.matrix_basis = self.get_matrix()
|
||||
|
||||
if settings.use_custom_props:
|
||||
blen_read_custom_properties(fbx_props[0], obj, settings)
|
||||
blen_read_custom_properties(self.fbx_elem, obj, settings)
|
||||
|
||||
return obj
|
||||
|
||||
|
@ -2072,7 +2072,7 @@ class FbxImportHelperNode:
|
|||
assert(fbx_props[0] is not None)
|
||||
|
||||
if settings.use_custom_props:
|
||||
blen_read_custom_properties(fbx_props[0], arm, settings)
|
||||
blen_read_custom_properties(self.fbx_elem, arm, settings)
|
||||
|
||||
# instance in scene
|
||||
obj_base = scene.objects.link(arm)
|
||||
|
|
Loading…
Reference in New Issue