From ac9e36549ba954907eb40dc3b3944950041463c8 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sat, 26 Apr 2014 18:08:19 -0400 Subject: [PATCH] Fix right clicking dots no longer working on the minimap, broken {} pair that slipped my eyes. --- indra/newview/llnetmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index af5c847fd..e81c406a3 100644 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -645,6 +645,7 @@ void LLNetMap::draw() } else LLWorldMapView::drawTrackingDot(pos_map.mV[VX],pos_map.mV[VY],color,0.f); } + } F32 dist_to_cursor_squared = dist_vec_squared(LLVector2(pos_map.mV[VX], pos_map.mV[VY]), LLVector2(local_mouse_x,local_mouse_y)); if (dist_to_cursor_squared < min_pick_dist_squared && dist_to_cursor_squared < closest_dist_squared) @@ -773,7 +774,6 @@ void LLNetMap::draw() LLUICtrl::draw(); } -} void LLNetMap::reshape(S32 width, S32 height, BOOL called_from_parent) {