Fix #113866: Import FBX When Recursive File List #104963
@ -203,9 +203,8 @@ class ImportFBX(bpy.types.Operator, ImportHelper):
|
|||||||
|
|
||||||
if self.files:
|
if self.files:
|
||||||
ret = {'CANCELLED'}
|
ret = {'CANCELLED'}
|
||||||
dirname = os.path.dirname(self.filepath)
|
|
||||||
for file in self.files:
|
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'}:
|
if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
|
||||||
ret = {'FINISHED'}
|
ret = {'FINISHED'}
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user