-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the threaded RenderWidget part loading
There are a lot of Sentry reports of crashes in this area, and they all point towards the old updateGeometries() co-routine being called again while it was awaiting the geometry calculations in another thread. The new version uses a more robust setup of 2 then-ables (loading and geometry calculation), but both sync back to the main thread before continuing. This also makes it easy to skip the geometry calculation, if the user already selected a different part in the meantime.
- Loading branch information
Showing
2 changed files
with
139 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters