Fix #113866: Import FBX When Recursive File List #104963

Open
Harley Acheson wants to merge 1 commits from Harley/blender-addons:RecursiveFBX into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 637442a64d - Show all commits

View File

@ -203,9 +203,8 @@ class ImportFBX(bpy.types.Operator, ImportHelper):
if self.files:
ret = {'CANCELLED'}
dirname = os.path.dirname(self.filepath)
for file in self.files:
path = os.path.join(dirname, file.name)
path = os.path.join(self.directory, file.name)
if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
ret = {'FINISHED'}
return ret