diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-08-19 13:53:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-19 13:53:16 -0700 |
| commit | f26e024aee3957193a3bd7ffdd614c004c243eaf (patch) | |
| tree | 30c12980f211cb46ce4ea21c09f9b0bdfec3e230 /indra/newview/llpreviewscript.cpp | |
| parent | 305bebbdb3b16b10b6011b5b3b5d63ee7c7334be (diff) | |
| parent | ece8b732d963afe257b4ba7396c9deb340dbf47c (diff) | |
Merge pull request #6156 from secondlife/rider/runtime_msging
Rider/runtime msging
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
| -rw-r--r-- | indra/newview/llpreviewscript.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 10bacf53b7..354147336a 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -40,7 +40,6 @@ #include "llinventorymodel.h" #include "llkeyboard.h" #include "lllineeditor.h" -#include "llmd5.h" #include "llhelp.h" #include "llnotificationsutil.h" #include "llresmgr.h" @@ -1613,14 +1612,7 @@ std::string LLScriptEdContainer::getUniqueHash() const // Take script inventory item id (within the object inventory) // to consideration so that it's possible to edit multiple scripts // in the same object inventory simultaneously (STORM-781). - std::string script_id = mObjectUUID.asString() + "_" + mItemUUID.asString(); - - // Use MD5 sum to make the file name shorter and not exceed maximum path length. - char script_id_hash_str[33]; /* Flawfinder: ignore */ - LLMD5 script_id_hash((const U8*)script_id.c_str()); - script_id_hash.hex_digest(script_id_hash_str); - - return std::string(script_id_hash_str); + return LLScriptEditorWSServer::buildScriptSubscriptionId(mObjectUUID, mItemUUID); } std::string LLScriptEdContainer::getErrorLogFileName(const std::string& script_path) |
