From 3ca8b0bcc000c94da18af7bc1a408d4055662c1c Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 23 Sep 2005 21:14:12 +0000 Subject: Removed option to zoom the piece preview. git-svn-id: http://svn.leocad.org/trunk@420 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Pieceprv.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'win/Pieceprv.cpp') 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); -- cgit v1.2.3