24936 Commits

Author SHA1 Message Date
Lukas Matena
65f1a25854 Merge branch 'dk_timer' 2024-06-14 14:28:21 +02:00
David Kocik
5c7ba0d879 Fix Physical Printers default address of Connect 2024-06-14 14:28:02 +02:00
David Kocik
42e222d8db Allow upload only to Prusa printers and inherited 2024-06-14 14:28:02 +02:00
David Kocik
3a1f47e69d Do not poll printers when not top window 2024-06-14 14:28:01 +02:00
David Kocik
2e0cb6a9be Do not allow url ouside connect and backbutton back to loading in connect tab. 2024-06-14 14:28:01 +02:00
David Kocik
31088cc139 Stop timers in destructor.
Fix of crash when changing lang.
2024-06-14 14:28:01 +02:00
David Kocik
de6f111eb6 Open url from Connect in external browser 2024-06-14 14:28:01 +02:00
David Kocik
43620b8dde Pass data json from Connect FE to upload.
Parse filename and return it back to the json in correct form.
2024-06-14 14:28:01 +02:00
David Kocik
a03facbeb4 Revert dev adressess 2024-06-14 14:28:01 +02:00
David Kocik
41974d6a8f Revert not sending Access token on REQUEST_CONFIG
RunScript -> RunScriptAsync
2024-06-14 14:28:01 +02:00
David Kocik
c1bff16325 Do not send access token by script and minor changes in WebviewPanel 2024-06-14 14:28:01 +02:00
Jan Bařtipán
7204a0e77b WebView and Connect integration: implemented logout flow via /slicer/logout 2024-06-14 14:28:01 +02:00
Jan Bařtipán
850ac19167 WebView and Connect integration: implemented login ceremony via /slicer/login request (and alternative disabled one with fetch function overriding); all stored JWT tokens merged into single secret store record to reduce number of login dialogs appearances when new app is run for first time on Mac. 2024-06-14 14:28:01 +02:00
David Kocik
5601a6e75f WIP polling timer 2024-06-14 14:28:01 +02:00
David Kocik
399d1f1702 refresh token timer 2024-06-14 14:28:01 +02:00
Lukas Matena
1dd8e64009 Changed description 2024-06-14 14:27:05 +02:00
Lukas Matena
fa1bb08d25 Merge branch 'fs_SPE-2126' 2024-06-12 19:15:08 +02:00
Filip Sykala - NTB T15p
5898fc5467 Propagate transformation from UI to backend on close embossed SVG
(from GLVolume to ModelVolume)
2024-06-12 19:14:59 +02:00
Filip Sykala - NTB T15p
c5d94d1d95 Propagate transformation from UI to backend on close Emboss gizmo
(from GLVolume to ModelVolume)
Fix SPE-2126
2024-06-12 19:14:59 +02:00
Lukas Matena
a30ca5eb71 Merge branch 'lm_et_spe2109_bis' 2024-06-12 19:11:20 +02:00
Lukas Matena
2423da86a2 The paining cache is not a member of GLVolumeCollection, not a static variable:
this is needed because static variables are destroyed after OpenGL context is
destroyed, and the GLModels should not oulive it.
2024-06-12 19:11:05 +02:00
Lukas Matena
f5b35950a7 Fixed issues when rendering shells of painted objects 2024-06-12 19:11:05 +02:00
Lukas Matena
46bb8e5ac6 Added a cache so that painted areas do not have to be recalculated in every frame,
the painted areas are not rendered as painted when the volume is in hover state
2024-06-12 19:11:05 +02:00
enricoturri1966
93a47c971a Port of b2627055e34d1d42b86b32613e3fd0c07051ee63 from branch et_spe2109 2024-06-12 19:11:05 +02:00
Lukas Matena
f889bf470c Merge branch 'ys_spe2327' 2024-06-12 14:39:38 +02:00
YuSanka
f0531c6fc2 TopBar and TopBarMenus: Code refactoring to use callbacks instead of direct use of UserAccount and Mainframe. 2024-06-12 14:39:12 +02:00
YuSanka
fa61ea4e9e TopBarMenus: Added sys_color_changed() to correct process a changing of the application color mode
SPE-2320
2024-06-12 14:39:12 +02:00
YuSanka
86780b5a6c ScalableBitmap: Check if the bitmap has a square shape,
when loading from the path
2024-06-12 14:39:12 +02:00
YuSanka
3bd0728bc6 Fixed blurring of the Toolbars 2024-06-12 14:39:11 +02:00
YuSanka
986b0e1cdb Fix for for SPE-2338 - [LINUX] "Menu" / "Log in" has wrong label layout (is bottom placed)
(set icon size for 20px instead of 24)
+ Sidebar: nonMSW specific : Added right margin for bottom buttons
+ Gizmos toolbar: Code cleaning
2024-06-12 14:39:11 +02:00
YuSanka
8590e34aaf UI improvements:
- Increase margin around the toolbar icons
- Fixed layout for search button in search control
- Fixed background for Scene / Preview buttons
- Fix for #12576 - Show "collapse sidebar" button, even if "Show sidebar expand/collapse button" wasn't enabled but sidebar is collapsed
- Account button: "Anonymous" default name is changed to "Log in"
2024-06-12 14:39:11 +02:00
Lukas Matena
615329b1f6 GCodeViewer: tweaked background alpha in segment properties dialog 2024-06-11 21:35:10 +02:00
Martin Šach
8c55b5f443 Fix size_t -> std::size_t 2024-06-10 14:55:05 +02:00
Lukas Matena
99c8bb2dbb Merge branch 'lm_imgui_atlas' 2024-06-10 10:47:10 +02:00
Lukas Matena
5fac6934ec Automatic addition of missing glyphs: require extra frame when chars are added 2024-06-10 10:46:59 +02:00
Lukas Matena
ccd8910442 Automatic addition of missing glyphs: load CJK when a glyph is not found 2024-06-10 10:46:59 +02:00
Lukas Matena
dbc548b2aa Automatic addition of missing glyphs: fix issues on DPI change 2024-06-10 10:46:59 +02:00
Lukas Matena
85ca885d41 Automatic addition of missing glyphs into imgui atlas,
Only do the automatic glyph addition for the default font
2024-06-10 10:46:59 +02:00
Lukas Matena
0689e155ff Merge branch 'lm_vgcode_optimizations' 2024-06-10 10:46:25 +02:00
Lukas Matena
e7cf32ab81 VGcode: removed quadratic copying when generating the initial preview 2024-06-10 10:46:12 +02:00
Lukas Matena
dda46d7554 GCodeProcessor: Getting rid of needless std::vector::insert calls 2024-06-10 10:46:12 +02:00
YuSanka
6ee8901338 ImGuiDoubleSlider: Implemented Freeze/Thaw functions to avoid redundant call of the process_thumb_move();
+ Use SetSelectionSpan instead of SetHigherPos and SetLowerPos at the same time
2024-06-10 10:46:12 +02:00
Lukas Matena
34a79d69eb GCodeViewer: Added missing breaks into ViewerImpl::set_color_range_palette 2024-06-10 10:46:12 +02:00
Lukas Matena
f5331d7b2d GCodeViewer: Vertex colors are cached so the don't need to be recalculated too often 2024-06-10 10:46:12 +02:00
Lukas Matena
edb41c8e1d GCodeViewer: Some std::maps converted to std::arrays for performance reasons 2024-06-10 10:46:12 +02:00
Lukas Matena
0a35a1dbc4 GCodeViewer: Removed needless updates of color ranges 2024-06-10 10:46:11 +02:00
YuSanka
4cddd3ea85 GCodeViewer: Fixed crash on start and switch of color mode
(SPE-2340)
2024-06-10 10:12:33 +02:00
Merill
357264272d fix reset() call on a copy (PR #12737) 2024-06-07 08:51:36 +02:00
Lukas Matena
e1b33bacf2 Merge branch 'ys_spe1916' 2024-06-06 13:36:25 +02:00
Roman Tyr
27bcb590e8 Added new settings for SLA material profiles. 2024-06-06 12:42:17 +02:00