From 9aa7feee4eae4fbc34d7e777c94be2e024f6c053 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Wed, 26 Aug 2026 09:52:39 -0700 Subject: Issue #6192: object.publish was not sending can_save_back. --- indra/newview/llpublishedobjectmgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llpublishedobjectmgr.cpp b/indra/newview/llpublishedobjectmgr.cpp index d92bb382de..1eb000d98f 100644 --- a/indra/newview/llpublishedobjectmgr.cpp +++ b/indra/newview/llpublishedobjectmgr.cpp @@ -737,6 +737,11 @@ LLSD LLPublishedObjectMgr::buildPublishedObjectLLSD(LLViewerObject* root) const { pub["region"] = root->getRegion()->getName(); } + const PublishedObjectInfo* published_info = getPublished(root->getID()); + if (published_info) + { + pub["can_save_back"] = published_info->mCanSaveBackToContents; + } pub["inventory"] = buildPrimInventoryLLSD(root); LLSD linked_objects = LLSD::emptyArray(); -- cgit v1.3