Fix #7563. Regression in normalising document URIs.

This commit is contained in:
Dion Moult
2026-01-16 10:26:23 +11:00
parent d79524b087
commit 242f1aab35
@@ -99,7 +99,7 @@ class ObjectDocumentData:
return ""
uri = location
if not uri.startswith("file://"):
if "://" not in uri:
if not os.path.isabs(uri):
uri = os.path.abspath(os.path.join(os.path.dirname(tool.Ifc.get_path()), uri))
uri = "file://" + uri