summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttexture.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-10-31 23:01:16 +0200
committerGitHub <noreply@github.com>2023-10-31 23:01:16 +0200
commitafc08372b10d9c07c90d176dc45f8db8244215c9 (patch)
tree1f34b6048b3193a88a43bef61148722a1ced5c8e /indra/newview/llinspecttexture.cpp
parent0e10127081c97cfb7931ab9c99eb0e07ad42860a (diff)
SL-20537 Add hover-preview for My Outfit list
Diffstat (limited to 'indra/newview/llinspecttexture.cpp')
-rw-r--r--indra/newview/llinspecttexture.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinspecttexture.cpp b/indra/newview/llinspecttexture.cpp
index da4e3c0949..76e428b7d0 100644
--- a/indra/newview/llinspecttexture.cpp
+++ b/indra/newview/llinspecttexture.cpp
@@ -84,7 +84,10 @@ LLToolTip* LLInspectTextureUtil::createInventoryToolTip(LLToolTip::Params p)
}
}
}
-
+ if ((!p.message.isProvided() || p.message().empty()))
+ {
+ return NULL;
+ }
// No or more than one texture found => show default tooltip
return LLUICtrlFactory::create<LLToolTip>(p);
}