diff options
-rw-r--r-- | indra/newview/llsidepaneliteminfo.cpp | 11 | ||||
-rw-r--r-- | indra/newview/llviewerobject.cpp | 2 |
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; } }; |