summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-02-12 17:18:31 +0200
committerGitHub <noreply@github.com>2025-02-12 17:18:31 +0200
commit23ac8f603ea2e590b47598edf0fd6824f168fc0b (patch)
treec3d9eb897785b59e30fd53adb8b511767f158881 /indra/newview/llviewermenu.cpp
parent5029f0322f264e17f7509952f7bf9812db17a9ec (diff)
parentad7dee8aa08bb6207f95a50c8d1eeb55e8e0d81e (diff)
Merge pull request #3535 from secondlife/marchcat/lua_editor
Lua editor: initial PR to start the project viewer
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 80c75ec919..fb6b8b12f1 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -7761,13 +7761,13 @@ class LLToolsSelectedScriptAction : public view_listener_t
bool handleEvent(const LLSD& userdata)
{
std::string action = userdata.asString();
- bool mono = false;
+ std::string target = "lsl2";
std::string msg, name;
std::string title;
if (action == "compile mono")
{
name = "compile_queue";
- mono = true;
+ target = "mono";
msg = "Recompile";
title = LLTrans::getString("CompileQueueTitle");
}
@@ -7800,7 +7800,7 @@ class LLToolsSelectedScriptAction : public view_listener_t
LLFloaterScriptQueue* queue =LLFloaterReg::getTypedInstance<LLFloaterScriptQueue>(name, LLSD(id));
if (queue)
{
- queue->setMono(mono);
+ queue->setCompileTarget(target);
if (queue_actions(queue, msg))
{
queue->setTitle(title);