diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 72ae5c995..253949817 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -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