Skip to content

On name change notify the plugin to update. - #6305

Merged
Rider-Linden merged 1 commit into
release/26.4from
rider/name_update
Sep 14, 2026
Merged

Rider-Linden merged 1 commit into
release/26.4from
rider/name_update

Conversation

@Rider-Linden

Copy link
Copy Markdown
Contributor

Description

Viewer was not notifying the plugin about a successful name change on the object.
On an object property change, explicitly request the update and forward to the plugin if the server is active.

Issue #6304

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates object property synchronization so external plugins receive name and description changes even when objects are deselected.

Changes:

  • Forwards property replies for unselected objects.
  • Requests refreshed properties after plugin-originated modifications.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Summary
indra/newview/llselectmgr.cpp Notifies the plugin of property updates regardless of selection state.
indra/newview/llscripteditorws.cpp Requests updated properties after object modifications.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

LLScriptEditorWSServer::ptr_t ws_server = LLScriptEditorWSServer::getServer();
if (ws_server)
{
ws_server->onObjectPropertyChanged(id, name, desc, inv_serial);
}

// Force a properties reply so the editor sees the change without an in-world selection.
LLSelectMgr::instance().requestObjectPropertiesFamily(prim);
@Rider-Linden
Rider-Linden merged commit f4e40c0 into release/26.4 Sep 14, 2026
18 checks passed
@Rider-Linden
Rider-Linden deleted the rider/name_update branch September 14, 2026 15:46
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants