Commit Graph

18889 Commits

Author SHA1 Message Date
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
tamasmeszaros
bbf398f2dc Fix AABB query in hollowing print step 2022-05-11 10:35:29 +02:00
tamasmeszaros
fed317f27b Change std::nan("") to proper nan constants 2022-05-11 10:35:12 +02:00
tamasmeszaros
12a54251c9 Extend kdtree with k-nearest and bounding box queries
Also add test to verify it
2022-05-11 10:35:01 +02:00
rtyr
72b82547dd
Sync with PrusaSlicer-settings. 2022-05-10 13:19:18 +02:00
rtyr
d7857e75bc
Updated Voron v1 thumbnails. 2022-05-10 13:18:44 +02:00
enricoturri1966
8c133c01ee Follow-up of 436a454b2e - Fixed syntax error 2022-05-10 09:07:12 +02:00
enricoturri1966
6be84d529d #8202 - Fixed detection of layers in vase mode 2022-05-10 08:40:49 +02:00
Filip Sykala
d571e0e64b Merge branch 'master' into fs_fix_PriorityQueue_test 2022-05-09 17:39:53 +02:00
YuSanka
0869f49124 Localization: Update for list.txt 2022-05-09 17:04:10 +02:00
Filip Sykala
effad3a6f8 fix initialization type 2022-05-09 17:02:55 +02:00
KARBOWSKI Piotr
436a454b2e Fix building with new Boost 1.79.0.
Fixes #8302
2022-05-09 16:07:07 +02:00
tamasmeszaros
882d4b8e68 Merge branch 'tm_revert_mac_utf8' 2022-05-09 09:55:57 +02:00
Vojtech Bubnik
e687db9eb0 Ported custom_gcode and print unit tests from Perl to C++. 2022-05-06 18:30:18 +02:00
tamasmeszaros
6173896024 Revert utf8 for wx on mac 2022-05-06 17:04:10 +02:00
Filip Sykala
6ab517187f Fix mismatch of data types.
Separate checks.
2022-05-06 13:37:35 +02:00
YuSanka
9d2b6d5bda Follow-up to d0b4a4a87d - Fix for build warnings 2022-05-06 09:14:39 +02:00
enricoturri1966
ce98307b9c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-05-06 07:30:38 +02:00
enricoturri1966
ff20ad1052 Fixed warning 2022-05-06 07:30:03 +02:00
Vojtech Bubnik
d4b8d4d0f3 Further Perl unit test porting to C++ and Perl interface reduction:
Ported cooling, gap fill, thin walls and polyline unit tests.
2022-05-05 17:57:57 +02:00
Lukáš Hejl
5a67d0e183 Fixed build on Linux (GCC 11.2). 2022-05-05 13:52:52 +02:00
Lukáš Hejl
7cfb086cd2 Merge branch 'lh_lightning_infill_fix' 2022-05-05 13:43:10 +02:00
Lukáš Hejl
09a9d79e99 Fix of #8227 (Lightning infill wasn't working when "Combine infill every X layers" was set to a different value than one.) 2022-05-05 13:42:18 +02:00
Lukáš Hejl
d069befa1f Fixed missing layers of Lightning infill. 2022-05-05 13:42:18 +02:00
Lukáš Hejl
17e74141ce Fixed a crash in Lightning infill. 2022-05-05 13:42:18 +02:00
Lukáš Hejl
356bec6e5f Added deallocation of wxBoxSizer into OptionsGroup::activate_line() when is not used. 2022-05-05 13:39:35 +02:00
Lukáš Hejl
bd644df2f7 Suppressed reports of memory leaks from AMD driver and D-Bus library. 2022-05-05 13:39:35 +02:00
YuSanka
8d1a2a8fb3 Implemented FR: Update toolbars "on fly", when custom toolbar size is editing from Preferences dialog
(https://dev.prusa3d.com/browse/SPE-1232)
+ Fixed update of the color pickers
2022-05-05 11:38:48 +02:00
YuSanka
d0b4a4a87d Preferences Dialog: Revert values, when "Cancel" button is clicked ([SPE-1230|https://dev.prusa3d.com/browse/SPE-1230])
+ Fixed bug: If change "dark mode" checkbox and "Settings layout mode", than dark mode wouldn't processed.
+ Code refactoring for create_settings_mode_widget()
2022-05-05 09:35:40 +02:00
Vojtech Bubnik
aa3231e2c5 Further slimming of Perl bindings. 2022-05-04 19:10:34 +02:00
Vojtech Bubnik
576c167bd5 Ported "avoid crossing perimeters" and bridging unit tests from Perl
to C++.
Further reduced Perl bindings.
Got rid of the ExPolygonCollection wrapper, replaced with ExPolygons.
2022-05-04 18:21:08 +02:00
Vojtech Bubnik
a627614b58 Perl unit tests for perimeters and multi-material were rewritten to C++.
Perl binding was slimmed down, namely Clipper is no more linked by Perl.
2022-05-04 15:06:04 +02:00
YuSanka
7380787b3a Settings Tab: Fix for https://dev.prusa3d.com/browse/SPE-1229 2022-05-04 12:44:47 +02:00