summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-08-25 15:46:21 (GMT)
committerMarius Kintel <marius@kintel.net>2011-08-25 15:46:21 (GMT)
commit08c83d306ed838165546e55d8e91a8445b09ace3 (patch)
tree863b749cfe3a875a211062aa0281c648ef721d5e
parentcb0fe366cf1947973728d50c06e3ed0e4261e109 (diff)
parenta32007e66c6004531f812befb20a96040b4dbbdd (diff)
Merge branch 'master' into visitor
Conflicts: src/primitives.cc
-rw-r--r--RELEASE_NOTES2
-rw-r--r--doc/TODO.txt2
-rw-r--r--src/mainwin.cc1
-rw-r--r--src/primitives.cc2
4 files changed, 6 insertions, 1 deletions
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 5364e0a..d3d6d92 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,6 +1,8 @@
OpenSCAD 20xx.yy
================
+Bugfixes:
+o Flush Caches didn't flush cached USE'd modules
OpenSCAD 2011.06
================
diff --git a/doc/TODO.txt b/doc/TODO.txt
index 74e1f3f..be7d332 100644
--- a/doc/TODO.txt
+++ b/doc/TODO.txt
@@ -115,6 +115,8 @@ o Misc
- Save: Ask for confirmation if file has been externally changed
- Rename OpenCSG and CGAL to smth. not specific to the underlying libraries
(e.g Preview, Render)
+o Cmd-line
+ - Add verbose option (PRINT command from mainwin.cc and progress output)
ENGINE
------
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 2cd16be..fab0c74 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -1489,6 +1489,7 @@ void MainWindow::actionFlushCaches()
#endif
dxf_dim_cache.clear();
dxf_cross_cache.clear();
+ Module::libs_cache.clear();
}
void MainWindow::viewModeActionsUncheck()
diff --git a/src/primitives.cc b/src/primitives.cc
index 3f88c75..4210e15 100644
--- a/src/primitives.cc
+++ b/src/primitives.cc
@@ -474,7 +474,7 @@ sphere_next_r2:
}
}
- if (this->type == SQUARE)
+ if (this->type == SQUARE && x > 0 && y > 0)
{
double x1, x2, y1, y2;
if (this->center) {
contact: Jan Huwald // Impressum