summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttexture.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-04-24 16:35:00 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-04-24 16:35:00 -0400
commit6d860672ec3e05660844a40c56b8644130a1f6b6 (patch)
tree2cf0f229f5f8c0e019255e2265f6bfb67af1c93c /indra/newview/llinspecttexture.cpp
parent40a881dd26cbf0b92e03ec20e296b94e89bdb2c3 (diff)
parentd98fc504a1d4bc292ba86acdda053c8b4598a193 (diff)
Merge 'main' into release/luau-scripting on promotion of Maint YZ
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);
}