diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-09-01 15:05:24 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-09-01 15:05:24 +0100 |
commit | 711ccfa57f5feb526bea6d3cea8d41a7079179b0 (patch) | |
tree | d18fe7f76e35d05bade9f74899069357f534d054 /indra | |
parent | a330399082b06ff8d5cbaa3a6f53d7ed748571ef (diff) |
VWR-13221 (SNOW-188) SUPPLEMENTARY Allow panning of the minimap
Fix Linux build.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llnetmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index 031656f7f8..6db8001d57 100644 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -269,7 +269,7 @@ void LLNetMap::draw() new_center.mV[VX] -= mCurPan.mV[VX]; new_center.mV[VY] -= mCurPan.mV[VY]; new_center.mV[VZ] = 0.f; - mObjectImageCenterGlobal = viewPosToGlobal(new_center.mV[VX], new_center.mV[VY]); + mObjectImageCenterGlobal = viewPosToGlobal(llfloor(new_center.mV[VX]), llfloor(new_center.mV[VY])); // Create the base texture. U8 *default_texture = mObjectRawImagep->getData(); |