You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is with the latest 2021.01 release under Windows 64-bit.
I am editing the SCAD file using an external editor with "Automatic Reload and Preview" enabled under the Design menu.
About 1 save in 10(?) when the file is saved OpenSCAD will reload the file and preview as it should, but it will also reset all Customizer settings to defaults (as defined in the .SCAD file). When working on a detailed model with many settings, this is extremely annoying to have to go back and set all of the options that were being tested and/or developed.
The model view does not change, the orientation of the camera stays as it was before the save.
In the console it looks like something is being reset as the logs are continuous, then there's a break in the logs when the Customizer reset occurs, and another break after the Customizer has been manually returned to pre-reset state.
On further inspection the "Parsing design (AST generation)..." does not appear in the logs until the breaks. Maybe there's a cache somewhere that is expiring and clearing more than it should?
<Pages and pages of console entries, no breaks>
Geometries in cache: 117
Geometry cache size in bytes: 532440
CGAL Polyhedrons in cache: 82
CGAL cache size in bytes: 34459616
Compiling design (CSG Products normalization)...
Normalized tree has 550 elements!
Compile and preview finished.
Total rendering time: 0:00:00.200
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
Geometries in cache: 117
Geometry cache size in bytes: 532440
CGAL Polyhedrons in cache: 82
CGAL cache size in bytes: 34459616
Compiling design (CSG Products normalization)...
Normalized tree has 292 elements!
Compile and preview finished.
Total rendering time: 0:00:00.079
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
Geometries in cache: 117
Geometry cache size in bytes: 532440
CGAL Polyhedrons in cache: 82
CGAL cache size in bytes: 34459616
Compiling design (CSG Products normalization)...
Compiling highlights (1 CSG Trees)...
Normalized tree has 285 elements!
Compile and preview finished.
Total rendering time: 0:00:00.077
This is with the latest 2021.01 release under Windows 64-bit.
I am editing the SCAD file using an external editor with "Automatic Reload and Preview" enabled under the Design menu.
About 1 save in 10(?) when the file is saved OpenSCAD will reload the file and preview as it should, but it will also reset all Customizer settings to defaults (as defined in the .SCAD file). When working on a detailed model with many settings, this is extremely annoying to have to go back and set all of the options that were being tested and/or developed.
The model view does not change, the orientation of the camera stays as it was before the save.
In the console it looks like something is being reset as the logs are continuous, then there's a break in the logs when the Customizer reset occurs, and another break after the Customizer has been manually returned to pre-reset state.
On further inspection the "Parsing design (AST generation)..." does not appear in the logs until the breaks. Maybe there's a cache somewhere that is expiring and clearing more than it should?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: