fstl-app / fstl

A fast STL file viewer
472 stars 105 forks source link

Improve Autoreload #96

Closed pocomane closed 1 year ago

pocomane commented 1 year ago

I am using a "Programmatic CAD" to produce stl, with a inotify script that automatically re-generate the stl when something in the source changes. Then, I am using fstl as a viewer with the Autoreload enabled, so that I can automatically view the new results when I edit the source.

Sometime the CAD will produce empty (in the sense of without any mesh) or corrupted stl. In such case fst will report an error, and this is good. However, after that the autoreload stops to work: if the stl changes again fstl will not automatically reload it. I have to manually re-open the file or close and restart fstl to bring the autoreload back.

Could fst coninue to monitor for changes in the stl file also after an error?

pocomane commented 1 year ago

The current git version seems do not have such issue. Maybe the one from my OS was old (though it say 0.10). Whatever is the reason, this issue can be close.

Sorry for the noise.