levylabpitt / AFM-Lithography

BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Flash on Startup Due to Asynchronous Messaging of Settings #70

Closed Monkeymerlot closed 3 years ago

Monkeymerlot commented 3 years ago

The render will flash on start up because the settings that are retrieved are done so asynchronously, so at the beginning it will try and use the default input in the tool path method, while the current default has the paths disabled. (of course this can change but I am mainly highlighting the fact that new settings are not retrieved on the refresh macro) 2021-02-26_18-26-51 Macro: Refresh: image Database: Refresh: image

We get the returned data via events in the event structure (similar for Funnels and Rectangles when updated) image

However, we want these in the event queue. So my thought was that maybe a synchronous method for refreshing the database might be worth considering in this instance?

Monkeymerlot commented 3 years ago

Fixed in commit 1eece53