summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditorws.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2026-08-25 16:15:18 -0700
committerRider Linden <rider@lindenlab.com>2026-08-25 16:15:18 -0700
commit7f880d4edda3291cdff27a2033efe3ad1cbfb835 (patch)
treebe61292fabf966cd30fd1d4939e15019b1320d27 /indra/newview/llscripteditorws.cpp
parentf9bed5815c77a500c7b5006368e750f1d4c0af43 (diff)
Issue #6184: Include the script id when it can be determined. Mark it as optional in the doc.
Diffstat (limited to 'indra/newview/llscripteditorws.cpp')
-rw-r--r--indra/newview/llscripteditorws.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llscripteditorws.cpp b/indra/newview/llscripteditorws.cpp
index 01f0e60a49..9d309af912 100644
--- a/indra/newview/llscripteditorws.cpp
+++ b/indra/newview/llscripteditorws.cpp
@@ -2082,6 +2082,10 @@ void LLScriptEditorWSServer::sendRuntimeEvent(
}
LLSD message;
+ if (!script_id.empty())
+ {
+ message["script_id"] = script_id;
+ }
message["object_id"] = event.mRootID;
message["prim_id"] = event.mPrimID;
message["item_id"] = event.mItemID;