summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-26 19:36:39 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-09-26 20:41:03 +0300
commitf352fd1090ce4d50db349cdadfa61d66783a20e8 (patch)
treee2f56844f718ca2701c0cd15f5386da07765faa5 /indra/newview
parent226081b27511ad45fbeaa16b9226265dc446976b (diff)
SL-20341 Item Properties floater closes on changes for task inventory item
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llsidepaneliteminfo.cpp11
-rw-r--r--indra/newview/llviewerobject.cpp2
2 files changed, 12 insertions, 1 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)
{
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 011bea71a4..9275cfb86d 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -6034,7 +6034,7 @@ LLViewerObject::ExtraParameter* LLViewerObject::createNewParameterEntry(U16 para
}
default:
{
- LL_INFOS() << "Unknown param type." << LL_ENDL;
+ LL_INFOS_ONCE() << "Unknown param type: " << param_type << LL_ENDL;
break;
}
};