SL-16887 FIXED Crash in LLNetMap::draw
parent
1461e4d437
commit
9f10853c03
|
|
@ -147,6 +147,10 @@ void LLNetMap::setScale( F32 scale )
|
|||
|
||||
void LLNetMap::draw()
|
||||
{
|
||||
if (!LLWorld::instanceExists())
|
||||
{
|
||||
return;
|
||||
}
|
||||
LL_PROFILE_ZONE_SCOPED;
|
||||
static LLFrameTimer map_timer;
|
||||
static LLUIColor map_avatar_color = LLUIColorTable::instance().getColor("MapAvatarColor", LLColor4::white);
|
||||
|
|
|
|||
|
|
@ -109,7 +109,12 @@ void LLTracker::stopTracking(bool clear_ui)
|
|||
// static virtual
|
||||
void LLTracker::drawHUDArrow()
|
||||
{
|
||||
if (!gSavedSettings.getBOOL("RenderTrackerBeacon")) return;
|
||||
if (!LLWorld::instanceExists())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!gSavedSettings.getBOOL("RenderTrackerBeacon")) return;
|
||||
|
||||
if (gViewerWindow->getProgressView()->getVisible()) return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue