Merge branch 'future' of https://github.com/Shyotl/SingularityViewer
Conflicts: indra/newview/app_settings/shaders/class2/effects/gaussBlurF.glsl indra/newview/llmanipscale.cpp indra/newview/llmeshrepository.cpp indra/newview/llviewerregion.cpp indra/newview/llvovolume.cpp
This commit is contained in:
@@ -357,6 +357,10 @@ void LLWorldMapView::draw()
|
||||
gGL.flush();
|
||||
LLFontGL* font = LLFontGL::getFontSansSerifSmall();
|
||||
|
||||
|
||||
gGL.setAlphaRejectSettings(LLRender::CF_DEFAULT);
|
||||
gGL.setColorMask(true, true);
|
||||
|
||||
// Draw the region name in the lower left corner
|
||||
for (LLWorldMap::sim_info_map_t::const_iterator it = LLWorldMap::getInstance()->getRegionMap().begin();
|
||||
it != LLWorldMap::getInstance()->getRegionMap().end(); ++it)
|
||||
@@ -444,6 +448,7 @@ void LLWorldMapView::draw()
|
||||
LLColor4::white,
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BASELINE,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
|
||||
// If map texture is still loading,
|
||||
@@ -459,6 +464,7 @@ void LLWorldMapView::draw()
|
||||
LLColor4::white,
|
||||
LLFontGL::LEFT,
|
||||
LLFontGL::BASELINE,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
}*/
|
||||
}
|
||||
@@ -1459,7 +1465,9 @@ void LLWorldMapView::drawTracking(const LLVector3d& pos_global, const LLColor4&
|
||||
text_x,
|
||||
text_y,
|
||||
LLColor4::white, LLFontGL::HCENTER,
|
||||
LLFontGL::BASELINE, LLFontGL::DROP_SHADOW);
|
||||
LLFontGL::BASELINE,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
|
||||
if (tooltip != "")
|
||||
{
|
||||
@@ -1470,7 +1478,9 @@ void LLWorldMapView::drawTracking(const LLVector3d& pos_global, const LLColor4&
|
||||
text_x,
|
||||
text_y,
|
||||
LLColor4::white, LLFontGL::HCENTER,
|
||||
LLFontGL::BASELINE, LLFontGL::DROP_SHADOW);
|
||||
LLFontGL::BASELINE,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1671,6 +1681,7 @@ void LLWorldMapView::drawIconName(F32 x_pixels,
|
||||
color,
|
||||
LLFontGL::HCENTER,
|
||||
LLFontGL::TOP,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
|
||||
text_y -= llround(LLFontGL::getFontSansSerif()->getLineHeight());
|
||||
@@ -1682,6 +1693,7 @@ void LLWorldMapView::drawIconName(F32 x_pixels,
|
||||
color,
|
||||
LLFontGL::HCENTER,
|
||||
LLFontGL::TOP,
|
||||
LLFontGL::NORMAL,
|
||||
LLFontGL::DROP_SHADOW);
|
||||
}
|
||||
|
||||
@@ -2084,7 +2096,7 @@ BOOL LLWorldMapView::handleMouseUp( S32 x, S32 y, MASK mask )
|
||||
LLRect clip_rect = getRect();
|
||||
clip_rect.stretch(-8);
|
||||
clip_rect.clipPointToRect(mMouseDownX, mMouseDownY, local_x, local_y);
|
||||
LLUI::setCursorPositionLocal(this, local_x, local_y);
|
||||
LLUI::setMousePositionLocal(this, local_x, local_y);
|
||||
|
||||
// finish the pan
|
||||
mPanning = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user