summaryrefslogtreecommitdiff
path: root/indra/newview/lllocalbitmaps.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-10-11 16:51:15 +0100
committerGraham Linden <graham@lindenlab.com>2018-10-11 16:51:15 +0100
commitda1778e19b98508d66e0288a773e55bb86e118a0 (patch)
treee50e5e2a18ac6160b65d23615143c809694ceb7b /indra/newview/lllocalbitmaps.cpp
parent55d40245b4456ccf6a3f87ed488b0c5d05e54232 (diff)
parentde34937c50492cb9d79859af000554d876ef7267 (diff)
Merge
Diffstat (limited to 'indra/newview/lllocalbitmaps.cpp')
-rw-r--r--indra/newview/lllocalbitmaps.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/lllocalbitmaps.cpp b/indra/newview/lllocalbitmaps.cpp
index 760325b652..47b6da708c 100644
--- a/indra/newview/lllocalbitmaps.cpp
+++ b/indra/newview/lllocalbitmaps.cpp
@@ -976,6 +976,19 @@ LLUUID LLLocalBitmapMgr::getWorldID(LLUUID tracking_id)
return world_id;
}
+bool LLLocalBitmapMgr::isLocal(const LLUUID world_id)
+{
+ for (local_list_iter iter = sBitmapList.begin(); iter != sBitmapList.end(); iter++)
+ {
+ LLLocalBitmap* unit = *iter;
+ if (unit->getWorldID() == world_id)
+ {
+ return true;
+ }
+ }
+ return false;
+}
+
std::string LLLocalBitmapMgr::getFilename(LLUUID tracking_id)
{
std::string filename = "";