Fix right clicking dots no longer working on the minimap, broken {} pair that slipped my eyes.

This commit is contained in:
Lirusaito
2014-04-26 18:08:19 -04:00
parent 009e9a598a
commit ac9e36549b

View File

@@ -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)
{