summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2026-09-14 08:46:54 -0700
committerGitHub <noreply@github.com>2026-09-14 08:46:54 -0700
commitf4e40c0fe7c7b14f80ece4ba0d750be9c8cc6ce4 (patch)
tree0a912224c56b6f0b92c99e7fb0651041e3b8bd11 /indra
parent28f4e9b352a34d4fe551e13d37d3967b41bd5893 (diff)
parenta6176095af3766222739a7c3ad51894aa3406b05 (diff)
Merge pull request #6305 from secondlife/rider/name_update
On name change notify the plugin to update.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llscripteditorws.cpp3
-rw-r--r--indra/newview/llselectmgr.cpp10
2 files changed, 9 insertions, 4 deletions
diff --git a/indra/newview/llscripteditorws.cpp b/indra/newview/llscripteditorws.cpp
index 93b1bd5eb0..017d9a5540 100644
--- a/indra/newview/llscripteditorws.cpp
+++ b/indra/newview/llscripteditorws.cpp
@@ -1060,6 +1060,9 @@ LLSD LLScriptEditorWSServer::handleObjectModify(U32 connection_id, const LLSD& p
msg->sendReliable(host);
}
+ // Force a properties reply so the editor sees the change without an in-world selection.
+ LLSelectMgr::instance().requestObjectPropertiesFamily(prim);
+
// Step 4: Return Success Response
LLSD response;
response["success"] = true;
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index a09b54ffac..432678b132 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -6108,11 +6108,13 @@ void LLSelectMgr::processObjectProperties(LLMessageSystem* msg, void** user_data
node->mInventorySerial = inv_serial;
node->mSitName.assign(sit_name);
node->mTouchName.assign(touch_name);
+ }
- if (auto ws_server = LLScriptEditorWSServer::getServer())
- {
- ws_server->onObjectPropertyChanged(id, name, desc, inv_serial);
- }
+ // Published objects need property updates even when not selected.
+ LLScriptEditorWSServer::ptr_t ws_server = LLScriptEditorWSServer::getServer();
+ if (ws_server)
+ {
+ ws_server->onObjectPropertyChanged(id, name, desc, inv_serial);
}
}