Fixed issues with ring rendering on mini and world map when ui scale was not exactly 1.0

This commit is contained in:
Shyotl
2017-11-18 17:31:56 -06:00
parent 733fca3d49
commit 9b75abdb09
2 changed files with 8 additions and 20 deletions

View File

@@ -1688,12 +1688,10 @@ void LLWorldMapView::drawTrackingCircle( const LLRect& rect, S32 x, S32 y, const
end_theta -= angle_adjust_y;
}
gGL.matrixMode(LLRender::MM_MODELVIEW);
gGL.pushMatrix();
gGL.translatef((F32)x, (F32)y, 0.f);
gGL.pushUIMatrix();
gGL.translateUI(x, y, 0.f);
gl_washer_segment_2d(inner_radius, outer_radius, start_theta, end_theta, 40, color, color);
gGL.popMatrix();
gGL.popUIMatrix();
}
// static