summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-02-04 14:12:38 +0200
committerAndrey Lihatskiy <118752495+marchcat@users.noreply.github.com>2026-02-04 17:31:52 +0200
commit7e37e97cee0fc30af56297089eeecb8ca807d9c2 (patch)
treef52a8e79dd4b9fe44d70074786711495da4f3a20 /indra/newview/llpreviewscript.cpp
parent37824a0b61cc28caab2454456d592671d106a343 (diff)
#5359 Skip SLua scripts during bulk LSL recompile
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r--indra/newview/llpreviewscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index 3eadca7a40..da788775f1 100644
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -125,7 +125,7 @@ static bool have_lua_enabled(const LLUUID& object_id)
// TEMPORARY: Quick check to see if the code is Lua
// since we don't have another way to determine the language yet
-static bool is_lua_script(const std::string& code)
+bool is_lua_script(const std::string& code)
{
// Check for LSL's signature "default" state pattern
std::regex lsl_pattern("\\s*default\\s*\\{");