From f9f670643398aac6ad917505ccd76d2cf50230c7 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 5 Jun 2005 01:51:55 +0000 Subject: Updated LeoCAD to use GTK+ 2.0 git-svn-id: http://svn.leocad.org/trunk@403 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/preview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/preview.cpp') diff --git a/common/preview.cpp b/common/preview.cpp index bc63a0b..8317104 100644 --- a/common/preview.cpp +++ b/common/preview.cpp @@ -44,7 +44,7 @@ void PiecePreview::OnDraw () gluPerspective (30.0f, aspect, 1.0f, 100.0f); glMatrixMode (GL_MODELVIEW); glLoadIdentity (); - m_pPieceInfo->ZoomExtents (); + m_pPieceInfo->ZoomExtents (30.0f, aspect); float pos[4] = { 0, 0, 10, 0 }, *bg = project->GetBackgroundColor (); glLightfv (GL_LIGHT0, GL_POSITION, pos); -- cgit v1.2.3