Commit Graph

17112 Commits

Author SHA1 Message Date
Lukáš Hejl
82bf9c158a Optimized multi-material segmentation to construct Voronoi diagrams only for layers that have more than one color. If the whole layer is painted using the same color, it is not needed to construct a Voronoi diagram. 2021-10-07 13:16:21 +02:00
Lukáš Hejl
d2cd14ba7d Merge branch 'lh_fdm_supports_smart_fill' 2021-10-07 13:14:40 +02:00
Lukáš Hejl
d6d575f607 Renamed the brush "Pointer" to "Triangles" in the multi-material painting gizmo, and in the FDM supports painting gizmo. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
ebdc69bdc9 Fixed the positioning of the painting gizmos. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
542ba1bb9a Added rendering of smart fill and contour around selected areas for the FDM supports painting gizmo. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
2b59a16dc7 Refactored rendering of the contour around areas selected by smart fill to prepare it for the FDM supports painting gizmo. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
8c9c8a9cc4 Prepared the FDM support gizmo for smart fill. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
99edfd22ce Improved the alignment of tool type and brush type in the multi-material gizmo. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
dfb4ccdb13 Reworked seam painting gizmo to the same layout as multi-material painting gizmo. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
925d3fad1f Fixed the wrong calculation of caption text size in all painting gizmos, which could lead to showing unintended space after ImGui::SliderFloat. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
6012bf1e03 Removed unintended space after ImGui::SliderFloat in all painting gizmos. 2021-10-07 13:12:36 +02:00
Lukáš Hejl
992a279bef Removed the vertical space in the below information about how to use gizmo for all painting gizmos. 2021-10-07 13:12:36 +02:00
YuSanka
fb3ed367ad Try to fix a focus for Application after closing of the "fix thought NetFab" ProgressBarDialog 2021-10-07 11:53:19 +02:00
YuSanka
a2b99db0df MSW specific:Added dark mode for G-CodeViewer 2021-10-07 11:53:19 +02:00
YuSanka
68fd37b300 Added SVG-file for G-CodeViewer logo 2021-10-07 11:53:19 +02:00
enricoturri1966
34f5dde024 #6380 - Fixed non-uniform scaling of a volume using the sidebar fields 2021-10-07 10:37:49 +02:00
YuSanka
1b828ca7f5 Deleted unused PNG-files. Added mirroring_transparent.svg (thanks for @AkiraNorthstar) 2021-10-07 10:14:55 +02:00
YuSanka
c15be26bff Check if object's size appears to be zero, when loading the model file. 2021-10-07 09:12:31 +02:00
YuSanka
7340488aaf ObjectList: Fixes
* Fixed update of a warning icon for multi-part object, when some part with errors was deleted
 * Fixed a crash when selecting non-Object and non-Volume item (in get_mesh_errors_info() was missed check of the obj_idx)

+ Follow-up 1cc7b4ba97 - some code refactoring:
  * fixed RepairedMeshErrors.merge()
  * get_mesh_errors_count() renamed to get_repaired_errors_count()
2021-10-06 17:24:40 +02:00
enricoturri1966
dbad87fb42 Follow-up of 2afdc66dfb - Added missing use case 2021-10-06 15:46:01 +02:00
enricoturri1966
2afdc66dfb #7068 - Automatic update of legend when switching on/off travel visibility in preview 2021-10-06 15:29:39 +02:00
YuSanka
8d749d2a9e Fix for build 2021-10-06 13:49:03 +02:00
YuSanka
82de61b0aa RichToolTips: Don't set a Timer for Tooltip but dismiss the tooltip when a mouse leave the button 2021-10-06 13:15:21 +02:00
David Kocik
6f3c8e16ad Merge branch 'dk_notifications' 2021-10-06 13:08:12 +02:00
David Kocik
d5d106fe61 Netfabb finished notification, fix of #7067 2021-10-06 13:07:38 +02:00
YuSanka
1cc7b4ba97 Save/Load repaired errors from/to a mesh statistics to/from a 3MF 2021-10-06 10:57:28 +02:00
YuSanka
47b54d5ce0 ObjectList: Fixed mouse click on the WarningIcon, when mesh wasn't repaired and isn't manifold. 2021-10-06 10:12:21 +02:00
YuSanka
9e2fa3cd4d Follow-up e2f2ed4172 and 80844ca337 - Allow RichToolTips just under MSW 2021-10-05 16:45:54 +02:00
YuSanka
091f946340 Localization: Updated POT 2021-10-05 16:31:04 +02:00
David Kocik
05bc9b7bf4 Merge branch 'dk_notifications' 2021-10-05 15:53:17 +02:00
David Kocik
d84867d539 notification info icon - wider hexagon 2021-10-05 15:52:44 +02:00
David Kocik
a1b2d53f4e actualize warnings on empty background process 2021-10-05 15:52:44 +02:00
Lukas Matena
a59f078883 Merge branch 'lm_sendsysteminfo' 2021-10-05 15:36:30 +02:00
Lukas Matena
8401ba192b Show PrusaSlicer logo in the SendSystemInfoDialog 2021-10-05 15:36:00 +02:00
Lukas Matena
deec0330bb Disable the dialog before merge with master 2021-10-05 15:09:53 +02:00
Lukas Matena
d7d056c8ba This reverts commits a186017 and 2423e7f 2021-10-05 15:09:53 +02:00
Lukas Matena
5dd9e98f27 SendSystemInfo: Return number of logical cores on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
5b5c72e73e REVERT LATER: More debugging logging 2021-10-05 15:09:53 +02:00
Lukas Matena
e8412d654c Use /etc/machine-id as unique id on Linux 2021-10-05 15:09:53 +02:00
Lukas Matena
1bef2eacc5 Use hardware UUID as unique id on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
c0eb4fbbd9 Use MAC address as a base of unique system ID on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
4733e17266 SendSystemInfoDialog: Collect CPU info on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
a49c691241 SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted 2021-10-05 15:09:53 +02:00
Lukas Matena
bdc4c4cf30 Added some more info (wxWidgets, gtk, Linux distro, CPU info, monitors) 2021-10-05 15:09:52 +02:00
Lukas Matena
af5abc8079 REVERT LATER: Something for debugging 2021-10-05 15:09:52 +02:00
Lukas Matena
b87f512b9e SendSystemInfo: do not close the dialog when failed/cancelled, set content-type to json 2021-10-05 15:09:52 +02:00
Lukas Matena
6a819dad89 SendSystemInfoDialog: Actual sending of the info 2021-10-05 15:09:52 +02:00
Lukas Matena
e8af0d6d0f SendSystemInfoDialog: Use HTML for formatting 2021-10-05 15:09:52 +02:00
YuSanka
d6222cf8a8 SendSystemInfoDialog: Layout adjustments 2021-10-05 15:09:52 +02:00
Lukas Matena
faa808b385 First draft of SendSystemInfoDialog 2021-10-05 15:09:52 +02:00