diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-06-27 23:58:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-27 23:58:12 -0400 |
commit | 06a9e45fa371365f56549fe1c1628bf7cf8589d1 (patch) | |
tree | 601bfe8f31052620321811582244d12a29d6d7a1 /indra/llfilesystem/lldir.cpp | |
parent | 895db142ee9224e1b8e4d2fc6348dc1801bea0dc (diff) | |
parent | a50a0e1277386de3456f478127f774fa01cdb578 (diff) |
Merge pull request #4308 from secondlife/geenz/develop-to-gltf-mesh
Geenz/develop to gltf mesh
Diffstat (limited to 'indra/llfilesystem/lldir.cpp')
-rw-r--r-- | indra/llfilesystem/lldir.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp index 99d4850610..b80243c22e 100644 --- a/indra/llfilesystem/lldir.cpp +++ b/indra/llfilesystem/lldir.cpp @@ -110,9 +110,10 @@ std::vector<std::string> LLDir::getFilesInDir(const std::string &dirname) std::vector<std::string> v; - if (exists(p)) + boost::system::error_code ec; + if (exists(p, ec) && !ec.failed()) { - if (is_directory(p)) + if (is_directory(p, ec) && !ec.failed()) { boost::filesystem::directory_iterator end_iter; for (boost::filesystem::directory_iterator dir_itr(p); |