Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_scene_fbx/import_fbx.py')
-rw-r--r--io_scene_fbx/import_fbx.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 5556f968..27e46076 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -1898,7 +1898,11 @@ class FbxImportHelperNode:
meshes = set()
for child in self.children:
- child.collect_skeleton_meshes(meshes)
+ # Children meshes may be linked to children armatures, in which case we do not want to link them
+ # to a parent one. See T70244.
+ child.collect_armature_meshes()
+ if not child.meshes:
+ child.collect_skeleton_meshes(meshes)
for m in meshes:
old_matrix = m.matrix
m.matrix = armature_matrix_inv @ m.get_world_matrix()