diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-02-06 11:25:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-06 11:25:49 -0800 |
| commit | 9b71bd5baac18c6dfd3383f8af3a9e2abb8c76ee (patch) | |
| tree | fcbd8e62f863a09e250fb85dc51ba15cc9b495e2 | |
| parent | ecdb63651e4d94a8323d22114bb5db09c8078d61 (diff) | |
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| -rw-r--r-- | indra/newview/llviewerobject.h | 6 |
1 files 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 |
