mirror of https://github.com/vitalif/openscad
Fixes problem where local changes are overwritten on automatic reload when included files has changed. Fixes #162
parent
4b7fe104f0
commit
9899f75a25
|
@ -19,6 +19,7 @@ o Fixed some issues related to ARM builds
|
|||
o Changed multmatrix floating-point output to improve dumptest portability
|
||||
o Regression test auto-starts & stops Xvfb / Xvnc if on headless unix machine
|
||||
o CGAL triangulation more lenient- enables partial rendering of 'bad' DXF data
|
||||
o Fixes problem where local changes are overwritten on automatic reload when included files has changed.
|
||||
|
||||
OpenSCAD 2013.01
|
||||
================
|
||||
|
|
|
@ -1040,8 +1040,9 @@ bool MainWindow::compileTopLevelDocument(bool reload)
|
|||
{
|
||||
bool shouldcompiletoplevel = !reload;
|
||||
|
||||
if ((reload && fileChangedOnDisk() && checkEditorModified()) ||
|
||||
includesChanged()) {
|
||||
if (includesChanged()) shouldcompiletoplevel = true;
|
||||
|
||||
if (reload && fileChangedOnDisk() && checkEditorModified()) {
|
||||
shouldcompiletoplevel = true;
|
||||
refreshDocument();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue