Browse Source

fixed regression #2

escherstair 6 năm trước cách đây
mục cha
commit
1abf6d50fe
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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.