Commit Graph

18939 Commits

Author SHA1 Message Date
tamasmeszaros
f9fb7f947d Revamped A* algorithm
with extended test suite
2022-06-02 17:44:51 +02:00
Lukáš Hejl
df552a9226 Fixed an undefined symbol when mold linker was used for linking slic3rutils_tests. 2022-06-02 13:47:51 +02:00
Lukáš Hejl
43f2018062 Merge branch 'lh_locales' 2022-06-02 12:23:47 +02:00
Lukáš Hejl
6bdaf0eaec Follow-up of a47446574e - Disable tbb::task_scheduler_observer in TBBLocalesSetter destructor.
The base class wasn't disabling observing when tbb::task_scheduler_observer was destructed, which leads to undefined behavior.
2022-06-02 12:13:45 +02:00
tamasmeszaros
345ee7cf28 Let's not call yield in PlaterWorker
Not worth the risk, needs further investigation
2022-06-02 10:55:59 +02:00
Lukáš Hejl
da6170d721 Merge branch 'lh_ini_null_chars' 2022-06-02 08:30:11 +02:00
Lukáš Hejl
11f6c67e7c Added detection for corrupted PrusaSlicer.ini and fixed showing instructions on how to recover from it (#8217).
Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
2022-06-02 08:20:11 +02:00
Lukáš Hejl
6c86d7dfd8 Merge branch 'lh_locales' 2022-06-01 21:19:50 +02:00
Lukáš Hejl
a47446574e Sets locales before any thread start participating in the GCode processing pipeline.
Locales should be set once per any participating threads in tbb::parallel_pipeline.
It should fix the issue with appearing comma instead of the decimal point in generated Gcode.
2022-06-01 21:18:52 +02:00
Lukáš Hejl
2319c31ca5 Merge branch 'lh_lightning_infill_anchors' 2022-06-01 21:14:28 +02:00
Lukáš Hejl
e967d10788 Added anchors for the Lightning infill to better connect the infill and perimeters. 2022-06-01 21:13:03 +02:00
Lukáš Hejl
ae377bd28c Fixed assert in Lightning infill (merging empty BoundingBoxes). 2022-06-01 21:13:03 +02:00
tamasmeszaros
cf16dafad9 Fix PlaterWorker not calling yield from main thread
Also fix UIThreadWorker not setting busy cursor
2022-06-01 15:39:07 +02:00
YuSanka
fe9ad66e84 Disable ENABLE_OBJECT_MANIPULATOR_FOCUS 2022-06-01 11:56:42 +02:00
enricoturri1966
4dee789e9e Follow-up of b00c550463 - More robust fix for: Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-31 08:39:15 +02:00
enricoturri1966
e8753ee8cd Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE - 1st installment - Copies custom bed texture and model files to 'data_dir()\printer' folder, if needed, and updates the printer config accordingly
Fixed conflicts after rebase with master
2022-05-30 11:28:54 +02:00
tamasmeszaros
78124689c5 Fix excessive uptates to UI in sla rotation optimization 2022-05-30 11:17:34 +02:00
tamasmeszaros
4326e083eb Fix sla rotation gizmo menu not being remembered 2022-05-30 11:15:23 +02:00
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