summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorleyla_linden <none@none>2011-02-23 16:31:32 -0800
committerleyla_linden <none@none>2011-02-23 16:31:32 -0800
commit9f537ad93fe7992bb6d652473a4ac3680320cab5 (patch)
treee84e251006b345d2f2eab6d1b21a3e4ced142f65 /indra/newview/llfloatermodelpreview.cpp
parentc15dc4faf35e8a0b3ec713fe0da0a489e77580bd (diff)
SH-1035 Model preview background color should match spec
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index dde470693c..7d42c842e8 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -603,13 +603,13 @@ void LLFloaterModelPreview::draw()
gGL.begin( LLRender::QUADS );
{
gGL.texCoord2f(0.f, 1.f);
- gGL.vertex2i(mPreviewRect.mLeft, mPreviewRect.mTop);
+ gGL.vertex2i(mPreviewRect.mLeft, mPreviewRect.mTop-1);
gGL.texCoord2f(0.f, 0.f);
gGL.vertex2i(mPreviewRect.mLeft, mPreviewRect.mBottom);
gGL.texCoord2f(1.f, 0.f);
- gGL.vertex2i(mPreviewRect.mRight, mPreviewRect.mBottom);
+ gGL.vertex2i(mPreviewRect.mRight-1, mPreviewRect.mBottom);
gGL.texCoord2f(1.f, 1.f);
- gGL.vertex2i(mPreviewRect.mRight, mPreviewRect.mTop);
+ gGL.vertex2i(mPreviewRect.mRight-1, mPreviewRect.mTop-1);
}
gGL.end();
@@ -3798,7 +3798,7 @@ BOOL LLModelPreview::render()
gGL.pushMatrix();
glLoadIdentity();
- gGL.color4f(0.15f, 0.2f, 0.3f, 1.f);
+ gGL.color4f(0.169f, 0.169f, 0.169f, 1.f);
gl_rect_2d_simple( width, height );