diff --git a/doc/contributions.txt b/doc/contributions.txt index 388ea31c0ba2ee5e3a6eb7ac7f72f4de766ba383..0cdf37d72f0a779b1a2a52a02de1697025d0fd4b 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -1195,12 +1195,15 @@ Zarkonnen Decosta Zeja Pyle ZenMondo Wormser Zi Ree + SH-489 VWR-423 VWR-671 VWR-682 VWR-684 VWR-9127 VWR-1140 + VWR-24017 + VWR-25588 Zipherius Turas VWR-76 VWR-77 diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp index 180ae4dfa6c8b31f32d78656d447106a0ca9002e..607473d4166292f2bf55a452120eab430eb90dd0 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -189,6 +189,9 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons origin.mV[VX] -= llround((F32)sCurOrigin.mX) - (sCurOrigin.mX); origin.mV[VY] -= llround((F32)sCurOrigin.mY) - (sCurOrigin.mY); + // Depth translation, so that floating text appears 'inworld' + // and is correclty occluded. + gGL.translatef(0.f,0.f,sCurOrigin.mZ); S32 chars_drawn = 0; S32 i;