summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-09-13 16:40:08 (GMT)
committerMarius Kintel <marius@kintel.net>2010-10-31 00:42:39 (GMT)
commit819ae6d181883767e1bfc46e6860479eed5a3b8c (patch)
tree54db4c3a174b40b92e7cca61dd39de70281fdd88 /src/mainwin.cc
parent455a8e22c17bcce4b8b6e922981665c38959306c (diff)
bugfix: Matrix initialization state was wrong, made CSGTermRenderer fail
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 88b7d40..f812ede 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -703,13 +703,6 @@ void MainWindow::compileCSG(bool procevents)
if (procevents)
QApplication::processEvents();
- double m[20];
-
- for (int i = 0; i < 16; i++)
- m[i] = i % 5 == 0 ? 1.0 : 0.0;
- for (int i = 16; i < 20; i++)
- m[i] = -1;
-
// Main CSG evaluation
QTime t;
t.start();
contact: Jan Huwald // Impressum