diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-08-26 09:52:39 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2026-08-26 09:52:39 -0700 |
| commit | 9aa7feee4eae4fbc34d7e777c94be2e024f6c053 (patch) | |
| tree | 4cf06890873f9f9819a15678360eea0b8ba6b0c1 /indra/newview/llpublishedobjectmgr.cpp | |
| parent | 680aac16d725032f41c0df14f227465a3a4fcd5e (diff) | |
Issue #6192: object.publish was not sending can_save_back.
Diffstat (limited to 'indra/newview/llpublishedobjectmgr.cpp')
| -rw-r--r-- | indra/newview/llpublishedobjectmgr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
