From 94d3424d636c7231ef3fb76dcf7d6eeeb83ffd7f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 27 Aug 2011 21:11:27 +0200 Subject: bugfix: Automatic reload and compile got broken during the rendering refactoring diff --git a/src/mainwin.cc b/src/mainwin.cc index 7bbc0e9..44c5cff 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1094,16 +1094,18 @@ void MainWindow::actionReloadCompile() compile(true); if (this->root_node) compileCSG(true); + // Go to non-CGAL view mode + if (viewActionThrownTogether->isChecked()) { + viewModeThrownTogether(); + } + else { #ifdef ENABLE_OPENCSG - if (!(viewActionOpenCSG->isVisible() && viewActionOpenCSG->isChecked()) && - !viewActionThrownTogether->isChecked()) { viewModeOpenCSG(); - } - else +#else + viewModeThrownTogether(); #endif - { - screen->updateGL(); } + clearCurrentOutput(); } -- cgit v0.10.1 From 947b683ae204b95880bd90ecdf464eb9bc13827c Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 27 Aug 2011 21:11:51 +0200 Subject: Added note about missing dependency tracking for libraries diff --git a/doc/TODO.txt b/doc/TODO.txt index 67d4d9e..677619e 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -175,6 +175,7 @@ o Misc empty AbstractNode instead of being ignored? - Bug: Using the background operator (%) on the only object in a scene triggers a CSG error: No top level object found + - Dependency tracking of libraries (USE'd modules) isn't implemented. See Mail from nophead 20110823. o Grammar - dim->name -> dim->label - A random(seed) function -- cgit v0.10.1 From 76a781d2fbb5610ea0483c6c08bb12b311f09494 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 27 Aug 2011 21:12:09 +0200 Subject: Added square() bugfix diff --git a/RELEASE_NOTES b/RELEASE_NOTES index d3d6d92..a95d588 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -2,6 +2,7 @@ OpenSCAD 20xx.yy ================ Bugfixes: +o square() crashed if any of the dimensions were zero o Flush Caches didn't flush cached USE'd modules OpenSCAD 2011.06 -- cgit v0.10.1