diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-26 19:36:39 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-26 20:41:03 +0300 |
commit | f352fd1090ce4d50db349cdadfa61d66783a20e8 (patch) | |
tree | e2f56844f718ca2701c0cd15f5386da07765faa5 /indra/newview/llsidepaneliteminfo.cpp | |
parent | 226081b27511ad45fbeaa16b9226265dc446976b (diff) |
SL-20341 Item Properties floater closes on changes for task inventory item
Diffstat (limited to 'indra/newview/llsidepaneliteminfo.cpp')
-rw-r--r-- | indra/newview/llsidepaneliteminfo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llsidepaneliteminfo.cpp b/indra/newview/llsidepaneliteminfo.cpp index 6fc9c8c6b5..d6d5a4ef2d 100644 --- a/indra/newview/llsidepaneliteminfo.cpp +++ b/indra/newview/llsidepaneliteminfo.cpp @@ -257,6 +257,17 @@ void LLSidepanelItemInfo::refresh() } return; } + + if (mObjectID.notNull()) + { + LLViewerObject* object = gObjectList.findObject(mObjectID); + if (object) + { + // Object exists, but object's content is not nessesary + // loaded, so assume item exists as well + return; + } + } if (mParentFloater) { |