Commit Graph

5536 Commits

Author SHA1 Message Date
f073fbf2f9 Implemented generic mechanism for executing tasks on UI thread synchronously
from the background slicing thread, that supports cancellation.
The generic mechanism is used for generating thumbnails into G-code and
Fixes Fix deadlock when canceling the slicing while gcode is creating thumbnails #6476
Thanks @supermerill for pointing out the issue.
2021-05-04 16:07:32 +02:00
2ca2b8d4bd ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated 2021-05-04 14:20:19 +02:00
c1ab2bcbd9 Merge branch 'vb_clipper_optimization' 2021-05-03 15:24:04 +02:00
ac7b40d695 Fixed a bug with selection from the 3D-scene when ObjectSettings item is selected in ObjectList
Steps to repro:
1. Add 2 objects, add Settings for some of object -> Object Settings item is selected
2. In the 3D-scene select another object -> BUG: no changes in the ObjectList
2021-04-30 16:56:18 +02:00
a9009b3218 OSX specific: Fixed scale of the frequently settings, when extra display is connected 2021-04-30 16:49:13 +02:00
868c1ecd41 Fixed conflicts after merge with master 2021-04-30 14:54:58 +02:00
96a7a52715 Clipper optimization:
1) Removed the already commented-out scaling / unscaling when doing
   "safe offsetting"
2) Removed some of the "safe offsetting" at calls where it never was used.
3) Reworked Clipper & ClipperUtils to pass Polygons / ExPolygons / Surfaces
   as input parameters without conversion to ClipperLib::Paths. This
   should save a lot of memory allocation and copying.
4) Reworked conversions from ClipperLib::Paths & PolyTree to Polygons /
   ExPolygons to use the move operator to avoid many unnecessary allocations.
5) Reworked some "union with safe ofsetting" to "offset_ex", which should
   be cheaper.
2021-04-30 11:49:57 +02:00
849d7f2460 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-29 11:07:47 +02:00
0f36a792a7 Fixed missing ending cap for toolpaths having a single segment 2021-04-29 09:09:49 +02:00
bd70aebfee Changed order of rendering of sidebar hints to avoid artifacts due to depth buffer cleanup made by gizmo renderers 2021-04-28 13:58:16 +02:00
d078aedfbe Replace label Skirt with Skirt/Brim in preview legend 2021-04-27 10:46:42 +02:00
343eb6006b Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview 2021-04-27 09:45:15 +02:00
22af3b8e30 Fixed a memory leak when repairing an external stl 2021-04-26 20:45:43 +02:00
fa71246ca4 Fix normal direction when exporting STL (#6406)
The export function does not depend on Model/ModelObject::mesh() family of functions,
changing them might break the already too brittle code.
2021-04-26 19:58:08 +02:00
f9ddb38f04 Extrusions in custom start g-code forced to be at first layer height level 2021-04-22 15:15:19 +02:00
1f2181b470 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 14:52:52 +02:00
21c78fdd97 Further fixes of the first_layer_height refactoring. 2021-04-21 14:34:49 +02:00
73289e9e8e Updated splashscreen images 2021-04-21 13:49:24 +02:00
7826a01077 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 12:32:17 +02:00
6f643ba6d3 Added missing include (GCC 9.3) 2021-04-21 06:08:46 +02:00
27336d2145 Removed mutable members from class GLVolume 2021-04-20 12:55:23 +02:00
aad1b3a8f6 Removed mutable members from class GLCanvas3D 2021-04-20 12:16:55 +02:00
08a9d6c559 Removed mutable members from class OpenGLManager::GLInfo 2021-04-20 11:42:34 +02:00
51a8af03fd Check of correct suffix during PrintHostSend dialog. 2021-04-20 09:18:50 +02:00
640b7879fb Error appearance of upload notification and dividing lines with lesser impotance of spaces 2021-04-20 09:18:50 +02:00
ad406bd820 compare upload notification by id and not show id in text 2021-04-20 09:18:50 +02:00
40dc0a8833 two line text for upload progress bar notification 2021-04-20 09:18:50 +02:00
34d26eaa31 Changed ToolpathOuside error notification from plater to slicing error notification type so it is grayed out correctly 2021-04-20 09:18:50 +02:00
ad300cde1a Upload notification text fix 2021-04-20 09:18:50 +02:00
53ee91dcf9 typo fix 2021-04-20 09:18:50 +02:00
caa2d9663b fix of notification states and upload progress bar notification fadeout 2021-04-20 09:18:50 +02:00
8af953c9d2 Removed mutable members from class Bed3D 2021-04-20 08:53:56 +02:00
d9053008ab Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
2be5cb8442 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
06726145a5 Show info about custom supports and seam in ObjectList
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-19 16:10:40 +02:00
e5b7c3536a Removed mutable members from class GLToolbar 2021-04-16 15:49:37 +02:00
24eed24037 Removed mutable members from class Selection 2021-04-16 15:25:03 +02:00
714b70f8d3 Further refactoring into struct Camera 2021-04-16 14:05:55 +02:00
61e1b2a993 Removed mutable members from struct Camera 2021-04-16 13:44:01 +02:00
cb98885c2b Fixed flickering of 3D scene GUI when the scene's bounding box gets very big 2021-04-16 12:49:57 +02:00
d9f13f1420 Fixed conversion to utf8 of strings entered using Custom G-code dialog 2021-04-16 09:48:22 +02:00
8fa5a131f2 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-04-15 13:48:29 +02:00
d12bfef0a8 RemovableManager on OSX: Testing for dictionary values for nullness.
Hopefully it fixes Can not start slicer on mac Bigsur #5719
2021-04-15 13:48:20 +02:00
1ed9795340 Follow-up of 526233ca47 -> Take in account original instances scale factor 2021-04-15 08:41:20 +02:00
ffefa3625e Modified version of automatic downscale on load of objects too big 2021-04-14 14:46:49 +02:00
e610102fa5 Fixed build against wxWidgets 3.0 2021-04-14 07:05:12 +02:00
05386e9b20 FDM snug supports: New parameter "closing radius", inspired by Cura's
support_join_distance
2021-04-12 14:56:36 +02:00
aad9aa112d Fixed a typo in an error message (--sw_renderer -> --sw-renderer) 2021-04-12 09:15:28 +02:00
b486dcc7f8 Do not use custom gcode in out of bed detection 2021-04-10 11:07:08 +02:00
f8d7c7684a Configs should point to PrusaSlicer-alpha, not beta in alpha stage. 2021-04-09 08:11:40 +02:00