diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-08-17 17:24:06 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2026-08-17 17:24:06 -0700 |
| commit | 7af436c43d8bb7027c146e9a57bb19c3c89c5d3e (patch) | |
| tree | cf2bfec73936bd7fc9d50db52209c3a2bea1778c /indra/newview/llpreviewscript.cpp | |
| parent | 5b2090ee2aca6436cc262c1cd20cb14f6cdb5e3e (diff) | |
Issue https://github.com/secondlife/sl-vscode-plugin/issues/98: Refactor message passing into unified format.
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) |
