From 1abf6d50fe96577444e90c730f2f321750747eb6 Mon Sep 17 00:00:00 2001 From: escherstair Date: Wed, 18 Sep 2019 08:31:33 +0200 Subject: [PATCH] fixed regression #2 --- code/Obj/ObjFileImporter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/Obj/ObjFileImporter.cpp b/code/Obj/ObjFileImporter.cpp index 708d20cf7..549956474 100644 --- a/code/Obj/ObjFileImporter.cpp +++ b/code/Obj/ObjFileImporter.cpp @@ -79,7 +79,10 @@ using namespace std; ObjFileImporter::ObjFileImporter() : m_Buffer() , m_pRootObject( nullptr ) -, m_strAbsPath( DefaultIOSystem().getOsSeparator() ) {} +, m_strAbsPath( "" ) { + DefaultIOSystem io; + m_strAbsPath = io.getOsSeparator(); +} // ------------------------------------------------------------------------------------------------ // Destructor.