summaryrefslogtreecommitdiff
path: root/indra/newview/gltf/accessor.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-08-05 06:33:21 +0800
committerErik Kundiman <erik@megapahit.org>2025-08-05 06:33:21 +0800
commit689b085fbafd49e8003874f3b318bac55fe248c3 (patch)
tree7d080c49737e4e8bcf08a3761757b76f67838b86 /indra/newview/gltf/accessor.cpp
parent096b736998ff2860bb65e64ce63b533752c3c2ed (diff)
parentf338b91f7c9dbfe999b5ea9a1facb9eaeafb3407 (diff)
Merge tag 'Second_Life_Release#f338b91f-2025.05' into 2025.052025.05
Diffstat (limited to 'indra/newview/gltf/accessor.cpp')
-rw-r--r--indra/newview/gltf/accessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/gltf/accessor.cpp b/indra/newview/gltf/accessor.cpp
index d1845605d4..03f7331893 100644
--- a/indra/newview/gltf/accessor.cpp
+++ b/indra/newview/gltf/accessor.cpp
@@ -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;