tamasmeszaros
1d3c8ac5b4
Further refactor
...
Reduce code size for astar
2022-06-03 10:17:05 +02:00
tamasmeszaros
d9ed45be56
Apply remarks from code review with additional cosmethics
2022-06-03 10:08:11 +02:00
tamasmeszaros
f9fb7f947d
Revamped A* algorithm
...
with extended test suite
2022-06-02 17:44:51 +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
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
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
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
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
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
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
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
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
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
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