area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
131 stars 115 forks source link

Optimize stls by caching STL #258

Open WesGilster opened 7 years ago

WesGilster commented 7 years ago

Spamming any of the customizer buttons can send the RPI into a spiral of death. Shouldn't be too hard to cancel on-going image manipulations when another request is spun up.

WesGilster commented 7 years ago

I fixed this problem without even using my cancellation optimization idea. I had inadvertently disabled the cache in a previous commit and broke the very functionality that the cache was supposed to fix. I'll still keep this bug open as an enhancement to make things even faster. There is a production build started for this.