From 9b71bd5baac18c6dfd3383f8af3a9e2abb8c76ee Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Fri, 6 Feb 2026 11:25:49 -0800 Subject: Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- indra/newview/llviewerobject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h index 271c35836f..3225349506 100644 --- a/indra/newview/llviewerobject.h +++ b/indra/newview/llviewerobject.h @@ -548,9 +548,9 @@ public: // save a script, which involves removing the old one, and rezzing // in the new one. This method should be called with the asset id // of the new and old script AFTER the bytecode has been saved. - // If is_new is true, then we are saving a new script. In this case, - // template_id will be used by the simulator and the new script will be a copy of that script - // asset, otherwise script_language will request the correct generic starting script. + // The simulator treats the script as new when item->getAssetUUID().isNull() is true; in that case + // template_id will be used (if non-null) to copy an existing script asset, otherwise script_language + // is used to request an appropriate generic starting script. void saveScript(const LLViewerInventoryItem* item, bool active, bool is_new, U8 script_language, const LLUUID& template_id); // move an inventory item out of the task and into agent -- cgit v1.3