diff options
| -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 |
