summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-28 18:17:23 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-28 18:17:23 (GMT)
commit2cddf760bf26d0b7329290111f01b75ab279e5f0 (patch)
treeff6ecf704994b85a5fa0a5c566de502a3ff21b1b /src
parent26ade53d8b71a130c66fdf86769f52a9d95c796b (diff)
Fixed compile error when OpenCSG is disabled
git-svn-id: http://svn.clifford.at/openscad/trunk@464 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src')
-rw-r--r--src/mainwin.cc4
1 files changed, 4 insertions, 0 deletions
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();
contact: Jan Huwald // Impressum