summaryrefslogtreecommitdiff
path: root/win/Pieceprv.cpp
diff options
context:
space:
mode:
authorleo2005-09-23 21:14:12 +0000
committerleo2005-09-23 21:14:12 +0000
commit3ca8b0bcc000c94da18af7bc1a408d4055662c1c (patch)
treee25d3a925d264cb84b1f6dc9c9972ee54b1332b9 /win/Pieceprv.cpp
parentd259a4634f874b2f54c9ffa4dc842a3b3db21ae1 (diff)
Removed option to zoom the piece preview.
git-svn-id: http://svn.leocad.org/trunk@420 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Pieceprv.cpp')
-rw-r--r--win/Pieceprv.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/Pieceprv.cpp b/win/Pieceprv.cpp
index 5cd68ca..707edc3 100644
--- a/win/Pieceprv.cpp
+++ b/win/Pieceprv.cpp
@@ -83,10 +83,8 @@ void CPiecePreview::OnPaint()
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- if (m_bZoomPreview)
- m_pPieceInfo->ZoomExtents(30.0f, (float)aspect);
- else
- gluLookAt (-5, -5, 4, 0, 0, 0, 0, 0, 1);
+ gluLookAt (-5, -5, 4, 0, 0, 0, 0, 0, 1);
+ m_pPieceInfo->ZoomExtents(30.0f, (float)aspect);
float pos[4] = { 0, 0, 10, 0 }, *bg = project->GetBackgroundColor();
glLightfv(GL_LIGHT0, GL_POSITION, pos);