Ver Fonte

fixed regression #2

escherstair há 6 anos atrás
pai
commit
1abf6d50fe
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      code/Obj/ObjFileImporter.cpp

+ 4 - 1
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.