From 2cddf760bf26d0b7329290111f01b75ab279e5f0 Mon Sep 17 00:00:00 2001 From: kintel Date: Sun, 28 Feb 2010 18:17:23 +0000 Subject: Fixed compile error when OpenCSG is disabled git-svn-id: http://svn.clifford.at/openscad/trunk@464 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/src/mainwin.cc b/src/mainwin.cc index 0767a05..5dee4a7 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1029,7 +1029,11 @@ void MainWindow::actionCompile() // Go to non-CGAL view mode if (!viewActionOpenCSG->isChecked() && !viewActionThrownTogether->isChecked()) { +#ifdef ENABLE_OPENCSG viewModeOpenCSG(); +#else + viewModeThrownTogether(); +#endif } else { screen->updateGL(); -- cgit v0.10.1