Commit Graph

18921 Commits

Author SHA1 Message Date
tamasmeszaros
c5e3a56511 Further fix to is_idle() and rethrow unhandled exception after finalize
In UIThreadWorker
2022-05-30 10:01:47 +02:00
tamasmeszaros
6ab8e3a138 Fix id_idle() for UIThreadWorker 2022-05-27 16:09:32 +02:00
enricoturri1966
b00c550463 Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-27 15:55:25 +02:00
tamasmeszaros
6c284882ba Fix cancellation from UI for UIThreadWorker 2022-05-27 15:54:26 +02:00
tamasmeszaros
9892893587 Add UIThreadWorker for debugging and profiling purposes 2022-05-27 15:33:03 +02:00
Lukáš Hejl
a115702289 Ignore CLion IDE files in all subdirectories. 2022-05-27 13:22:08 +02:00
enricoturri1966
1b09628b0d #8332 - File association on Windows: reimplemented to allow setting PrusaSlicer as default application for .3mf and .stl files and GCodeViewer as default application for .gcode files 2022-05-25 13:14:33 +02:00
enricoturri1966
fcd3966a5b Fixed crash when opening the preference dialog in GCodeViewer 2022-05-25 11:01:48 +02:00
enricoturri1966
ed482316ee Revert of 39cefdad89 2022-05-25 09:36:52 +02:00
enricoturri1966
6047eec609 When, on Windows, the application tries to automatically switch to MESA OpenGL library and the system opengl32.dll is not unloaded, prompt the user with a dialog asking to rerun using the --sw-renderer option 2022-05-24 10:20:02 +02:00
tamasmeszaros
f8ec5fc9e7 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-05-23 10:55:23 +02:00
enricoturri1966
6365e54b1f Fixed loading of 3mf files containing single volume instances where the volume is shifted with respect to the instance origin 2022-05-20 10:39:51 +02:00
Lukáš Hejl
fe16fb41dd Merge branch 'lh_lightning_infill_fix' 2022-05-19 15:17:04 +02:00
Lukáš Hejl
1582d019fb Fixed another crash in Lightning infill. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
4bde35cae3 Parallelized DistanceField::DistanceField() and Layer::getBestGroundingLocation() in Lightning infill. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
95041751a1 Refactored Lightning infill before parallelization. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
f82d5c52b3 Refactored Lightning infill to get rid of unnecessary std::list and std::unordered_map, which was slow. 2022-05-19 15:16:30 +02:00
Lukas Matena
41b64e189a Bumped up version to 2.6.0-alpha0:
the development of 2.5.x will be separated and based on 2.4.2.
master branch will be used for development of 2.6.x
2022-05-19 12:39:51 +02:00
enricoturri1966
910db38ae8 Fixed rotation, using gizmo, for instances whose offset does not match with bounding box center 2022-05-19 12:34:43 +02:00
enricoturri1966
39cefdad89 Tech ENABLE_REMOVE_ASSOCIATION_TO_FILE_FOR_WINDOWS_8_AND_LATER - Disable association to 3mf and stl files if the application is run on Windows 8 or later 2022-05-17 13:19:33 +02:00
tamasmeszaros
e6750a524f Fix collision after arrange when 'complete Individual objects' is ON
fixes #8335
2022-05-17 13:14:13 +02:00
Vojtech Bubnik
cc79a9fe7a Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-05-17 12:49:08 +02:00
Lukáš Hejl
6df1b6d074 Fixed an issue that some trees in the Lightning infill weren't connected to perimeters. 2022-05-17 12:41:28 +02:00
Lukas Matena
51211e265a SendSystemInfoDialog: fixed check of internet connection on Windows:
S_FALSE is returned when COM interface is already initialized, it should be considered a success.
2022-05-17 12:14:03 +02:00
Slicer
b27264a8c9 Changed http::ca_file_supported function to return false for OSX. 2022-05-17 11:58:43 +02:00
Vojtech Bubnik
a552a55cce Follow-up to f5ec76c230
Compile-time instantiation of the MutablePriorityQueue
with run-time resetting of indices when removing items from the queue
active in debug mode only.
2022-05-17 11:57:04 +02:00
tamasmeszaros
8c6f67a164 Fix Boost build not forwarding osx sdk flags to the compiler 2022-05-17 10:14:44 +02:00
Vojtech Bubnik
f5ec76c230 Follow-up to dc3931ec1f:
Fix mutable priority queue being wiped when moving out of function
    Without move constructor, the clean() gets called when returning an instance from a function.
The above fix was applied also to MutableSkipHeapPriorityQueue.

Follow-up to 15a082b80b:
Fixed TEST_CASE("Mutable priority queue - first pop", "[MutableSkipHeapPriorityQueue]")
2022-05-16 17:27:10 +02:00
tamasmeszaros
e931800ea8 Merge branch 'tm_curl_new' 2022-05-16 15:26:43 +02:00
tamasmeszaros
1554d6a2c7 Try to fix linking of expat 2022-05-16 14:58:17 +02:00
enricoturri1966
dc3cf1f7b8 #8327 - Fixed gcode window disappearing when selecting volumetric speed in preview 2022-05-16 14:29:33 +02:00
tamasmeszaros
3a7cdeeae4 Revamp CURL integration. Exclude it from APPLE 2022-05-16 14:02:46 +02:00
Vojtech Bubnik
15a082b80b Fix of libslic3r "Mutable priority queue - first pop" test failure #8276
Improved readability by introducing invalid_id() getter.
Made the ResetIndexWhenRemoved flag active in both debug and release mode,
it used to be made active by Vojtech for release mode only for unknown
reason.
2022-05-16 11:34:26 +02:00
tamasmeszaros
fd0579d4a2 Add missing includes to MutablePriorityQueue
Mainly to prevent heuristic error reports inside IDE
2022-05-16 10:30:22 +02:00
tamasmeszaros
de84fbf23d Remove junk output to stdout from various tests 2022-05-16 10:28:43 +02:00
rtyr
6605ad926f
Merge pull request #8251 from pmjdebruijn/creality
Fix Ender-3 Pro
2022-05-16 06:28:27 +02:00
David Kocik
ca3df3926e typo in notification text 2022-05-13 16:54:57 +02:00
Lukas Matena
ae14f677c2 Fix of a crash when using selection rectangle with a gizmo open 2022-05-13 15:44:44 +02:00
Lukáš Hejl
28e2315e72 Merge branch 'lh_lightning_infill_fix' 2022-05-12 14:35:18 +02:00
Lukáš Hejl
7b28bdc41f Fixed function lineSegmentPolygonsIntersection() in the Lightning infill that wasn't returns the intersection point.
It fixed the issue that sometimes the Lightning infill produced extrusions that hung in the air without proper support.
2022-05-12 14:30:07 +02:00
Lukáš Hejl
bff32c9cdb Added cancellation to Lightning infill. 2022-05-12 14:30:07 +02:00
tamasmeszaros
e82ef1094b Fix crash when optimizing rotation
probably helps to solve #8319
2022-05-12 13:29:13 +02:00
PavelMikus
d0c08ec5c1 Feature: AABB tree for lines
Small refactoring of AABB tree distance query function, to allow different primitives (apart from triangles)
Implemented Distancer and functions to create AABB tree from lines and use closest point query
Added test for the AABBTree with lines
Added Benchmark comparing EdgeGrid with AABBTree on line contours (Inside AABBTree test file, disabled under compilation flag)
2022-05-12 12:55:10 +02:00
tamasmeszaros
1d9d9cf001 Prohibit copy for mutable priority queue 2022-05-11 17:02:21 +02:00
tamasmeszaros
dc3931ec1f Fix mutable priority queue being wiped when moving out of function
Without move constructor, the clean() gets called when returning an instance from a function.
2022-05-11 16:49:15 +02:00
Lukáš Hejl
e0e34f6a53 Fixed a memory leak in the move assignment operator in ExtrusionEntityCollection. 2022-05-11 14:11:51 +02:00
tamasmeszaros
c78ccdbb74 Merge branch 'tm_astar' 2022-05-11 12:06:26 +02:00
tamasmeszaros
6b23e90424 Add astar algorithm
Fix windows build
2022-05-11 12:06:07 +02:00
tamasmeszaros
b2890b983b Merge branch 'tm_branching_tree_backports' 2022-05-11 10:55:35 +02:00
tamasmeszaros
34ba45dde4 Small fix in Execution.hpp 2022-05-11 10:35:38 +02:00