diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2024-02-27 18:51:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 18:51:32 +0200 |
commit | 777586a1865b496f8bfea9651afbd481ea23b4f7 (patch) | |
tree | 0cecaa9b4be0958dc7ff126c30382da3781f1f60 /indra/llfilesystem/lldir.cpp | |
parent | ad32c066691152e6a23f025d6aa5ead0e91b7be9 (diff) | |
parent | edf1a712a7ca8fd741514348e3304af6a766f4aa (diff) |
Merge pull request #843 from secondlife/luau-require-impl
Initial require implementation
Diffstat (limited to 'indra/llfilesystem/lldir.cpp')
-rw-r--r-- | indra/llfilesystem/lldir.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp index 69b23f9cf8..e3769c6afb 100644 --- a/indra/llfilesystem/lldir.cpp +++ b/indra/llfilesystem/lldir.cpp @@ -469,6 +469,7 @@ static std::string ELLPathToString(ELLPath location) ENT(LL_PATH_DEFAULT_SKIN) ENT(LL_PATH_FONTS) ENT(LL_PATH_LAST) + ENT(LL_PATH_SCRIPTS) ; #undef ENT @@ -588,6 +589,10 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd case LL_PATH_FONTS: prefix = add(getAppRODataDir(), "fonts"); break; + + case LL_PATH_SCRIPTS: + prefix = add(getAppRODataDir(), "scripts"); + break; default: llassert(0); |