Minor fix

This commit is contained in:
Dion Moult
2022-07-26 09:29:57 +10:00
parent dc7062e182
commit fafdc76494
@@ -678,7 +678,7 @@ class LinkIfc(bpy.types.Operator):
if self.use_relative_path:
filepath = os.path.relpath(filepath, bpy.path.abspath("//"))
new.name = filepath
bpy.ops.bim.load_link(filepath=self.filepath)
bpy.ops.bim.load_link(filepath=filepath)
return {"FINISHED"}
def invoke(self, context, event):