Webview developer tools added but hidden in tech.
Fixed adding / removing / loading webview tabs and blinking on add.
Rename tabs and related functions.
Apikey injection from https://github.com/SoftFever/OrcaSlicer. Thank you.
Co-authored-by: SoftFever <softfeverever@gmail.com>
Web View has working panel with Connect webpage with Auth token login.
Webview2 is used on windows. It uses small dll to find its runtime.
WebViewDialog.cpp, WebViewDialog.hpp, WebView.cpp and WebView.hpp were taken from https://github.com/bambulab/BambuStudio and used as protype for future WebView Development. Thank you.
Co-authored-by: cmguo <chunmao.guo@bambulab.com>
Co-authored-by: lane.wei <lane.wei@bambulab.com>
Background communication with keeping tokens
Temporary output is notification
Temporary storing tokens in prusaslicer.ini
Using wx secret store to store tokens if possible
Improved PrusaConnect message - number of compatible models
Fix of saving refresh token
Refactoring of Auth and Auth Session classes.
Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.
After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.
So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.
This reverts commit 69e0bc3064298fc58dd2a870801161821fa16da5.
The reason the original commit was reverted was to get cleaner git history after
merging master_27x into master. The change in this commit is implemented in master as b85e80c.
This reverts commit 6ff8537ff4fbd14ca09934cdb2bb987131a7b559. There is a non-trivial conflict
when merging to master, let's redo the commit after the merge so it is clear in history.