Commit Graph
5471 Commits
Author SHA1 Message Date
Vojtech Bubnik 1aef86f650 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
enricoturri1966 67572fad3f Tech ENABLE_ALLOW_NEGATIVE_Z-> Keep sinking objects and instances as sinking after copy/paste or add instance commands 2021-05-04 14:48:30 +02:00
YuSanka 4fe6f726de ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated 2021-05-04 14:20:19 +02:00
enricoturri1966 ede14251b1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_project_dirty_state 2021-05-03 16:05:22 +02:00
enricoturri1966 164af0255a Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking objects as sinking after reload from disk 2021-05-03 16:02:06 +02:00
enricoturri1966 57199b4116 Tech ENABLE_ALLOW_NEGATIVE_Z-> Fixed build on non-Windows OS 2021-05-03 15:47:16 +02:00
Vojtech Bubnik eb66111eda Merge branch 'vb_clipper_optimization' 2021-05-03 15:24:04 +02:00
enricoturri1966 1c3090b11f Tech ENABLE_ALLOW_NEGATIVE_Z-> Layers height editing related fixes 2021-05-03 14:28:55 +02:00
YuSanka c414f932d4 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
YuSanka 4ffbd027d0 OSX specific: Fixed scale of the frequently settings, when extra display is connected 2021-04-30 16:49:13 +02:00
enricoturri1966 395164c7a1 Fixed conflicts after merge with master 2021-04-30 14:54:58 +02:00
Vojtech Bubnik 9fbba855ef 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
enricoturri1966 28d01542ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-29 11:07:47 +02:00
enricoturri1966 3a28fe62b5 Fixed missing ending cap for toolpaths having a single segment 2021-04-29 09:09:49 +02:00
enricoturri1966 a3f03ac188 Tech ENABLE_ALLOW_NEGATIVE_Z->Keep as sinking objects saved in project files 2021-04-28 16:02:51 +02:00
enricoturri1966 1863d622b5 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
enricoturri1966 c58572deaa Tech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields 2021-04-28 11:07:15 +02:00
enricoturri1966 a83cd647da Small refactoring in GLCanvas3D::LayersEditing 2021-04-28 08:49:32 +02:00
enricoturri1966 2c6472ebc3 Replace label Skirt with Skirt/Brim in preview legend 2021-04-27 10:46:42 +02:00
enricoturri1966 076fdc90c0 Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview 2021-04-27 09:45:15 +02:00
Lukas Matena da702ab135 Fixed a memory leak when repairing an external stl 2021-04-26 20:45:43 +02:00
Lukas Matena 978b359492 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
enricoturri1966 b600540411 Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying scale gizmo 2021-04-23 09:11:55 +02:00
enricoturri1966 d4695827ce Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo 2021-04-23 08:29:29 +02:00
enricoturri1966 52583bbe30 Extrusions in custom start g-code forced to be at first layer height level 2021-04-22 15:15:19 +02:00
enricoturri1966 8f385aac44 Tech ENABLE_ALLOW_NEGATIVE_Z -> Shading of sinking instances 2021-04-22 13:18:36 +02:00
enricoturri1966 82d577645e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 14:52:52 +02:00
Vojtech Bubnik 0c1953a929 Further fixes of the first_layer_height refactoring. 2021-04-21 14:34:49 +02:00
YuSanka 4ce7ea40f0 Updated splashscreen images 2021-04-21 13:49:24 +02:00
enricoturri1966 c8b83ae011 Tech ENABLE_ALLOW_NEGATIVE_Z -> Allow move gizmo to place an object under the printbed 2021-04-21 12:41:43 +02:00
enricoturri1966 c7771a576b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 12:32:17 +02:00
Lukáš Hejl 49928e131c Added missing include (GCC 9.3) 2021-04-21 06:08:46 +02:00
enricoturri1966 9cd5ba13f2 Some refactoring into ProjectDirtyStateManager 2021-04-20 16:07:39 +02:00
enricoturri1966 6be2a1be2c Removed mutable members from class GLVolume 2021-04-20 12:55:23 +02:00
enricoturri1966 0e3090fb28 Removed mutable members from class GLCanvas3D 2021-04-20 12:16:55 +02:00
enricoturri1966 b0bb1e7b1d Removed mutable members from class OpenGLManager::GLInfo 2021-04-20 11:42:34 +02:00
David Kocik 453884f908 Check of correct suffix during PrintHostSend dialog. 2021-04-20 09:18:50 +02:00
David Kocik 429675db2d Error appearance of upload notification and dividing lines with lesser impotance of spaces 2021-04-20 09:18:50 +02:00
David Kocik d7b385f144 compare upload notification by id and not show id in text 2021-04-20 09:18:50 +02:00
David Kocik fb645c6394 two line text for upload progress bar notification 2021-04-20 09:18:50 +02:00
David Kocik c140974bf4 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
David Kocik 9118de4e3c Upload notification text fix 2021-04-20 09:18:50 +02:00
David Kocik 78e61eddf8 typo fix 2021-04-20 09:18:50 +02:00
David Kocik 441cf62ad3 fix of notification states and upload progress bar notification fadeout 2021-04-20 09:18:50 +02:00
enricoturri1966 c691464659 Project dirty state manager -> Improvements update of plater dirty state after save commands 2021-04-20 09:09:06 +02:00
enricoturri1966 3e09334162 Removed mutable members from class Bed3D 2021-04-20 08:53:56 +02:00
Lukas Matena dfe926ef63 Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
Lukas Matena df3fb31268 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
Lukas Matena 548ceb7acc 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
enricoturri1966 4da8de5f49 Removed mutable members from class GLToolbar 2021-04-16 15:49:37 +02:00