Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion indra/newview/gltf/accessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ bool Buffer::prep(Asset& asset)
std::string dir = gDirUtilp->getDirName(asset.mFilename);
std::string bin_file = dir + gDirUtilp->getDirDelimiter() + mUri;

std::ifstream file(bin_file, std::ios::binary);
llifstream file(bin_file.c_str(), std::ios::binary);
if (!file.is_open())
{
LL_WARNS("GLTF") << "Failed to open file: " << bin_file << LL_ENDL;
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/gltf/asset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ bool Asset::load(std::string_view filename, bool loadIntoVRAM)
mFilename = filename;
std::string ext = gDirUtilp->getExtension(mFilename);

std::ifstream file(filename.data(), std::ios::binary);
llifstream file(filename.data(), std::ios::binary);
if (file.is_open())
{
std::string str((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
Expand Down
Loading