Skip to content

Commit

Permalink
fix the loader path
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchicn committed Oct 16, 2020
1 parent 6985b20 commit d9ee4d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/libgltf/file_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ namespace libgltf
, m_FilePath()
, m_FileDatas()
{
//
if (m_RootPath.IsRelative())
{
m_RootPath = GetCWD();
}
}

bool CFileLoader::Load(const string_t& _sFilePath)
Expand Down

0 comments on commit d9ee4d3

Please sign in to comment.