PrusaSlicer-NonPlainar/lib/Slic3r
Lukas Matena 07282eb24d Fixed unit tests when run with range checks on std::vector
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288.
I quickly patched additional normalization of the preset to prevent this from happening.

Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.

Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
..
GCode Removed a broken Arc Fitting feature. 2017-04-26 14:24:31 +02:00
Geometry Reduced the content of Geometry.pm, removed unused Perl subroutines. 2017-07-19 10:45:39 +02:00
Print Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00
Config.pm Looks like the reworked C++ preferences start to work again. 2017-11-02 16:21:34 +01:00
ExPolygon.pm Removed the Point::wkt() and Point::dump_perl() methods. 2018-08-17 16:54:07 +02:00
ExtrusionLoop.pm Force the 'nearest' strategy for starting skirt loops 2015-12-21 15:02:39 +01:00
ExtrusionPath.pm Make tests happy 2015-07-02 14:29:20 +02:00
Flow.pm Distinct extrusion width for external perimeters 2014-06-09 21:22:15 +02:00
Geometry.pm Removed the Controller, Layer View, System Info, ObjectCutDialog, 2018-09-14 10:25:20 +02:00
Layer.pm Rewrote Fill2.pm to C++, deleted Perl infills for good. 2016-11-02 10:47:00 +01:00
Line.pm Ported some minor methods to XS 2014-11-15 23:06:15 +01:00
Model.pm 1st installment of ModelInstance 3D scale components 2018-09-24 15:54:09 +02:00
Point.pm Removed the Point::wkt() and Point::dump_perl() methods. 2018-08-17 16:54:07 +02:00
Polygon.pm Reduced the content of Geometry.pm, removed unused Perl subroutines. 2017-07-19 10:45:39 +02:00
Polyline.pm Removed the Point::wkt() and Point::dump_perl() methods. 2018-08-17 16:54:07 +02:00
Surface.pm New option for forcing the generation of interface shells. #1847 2014-03-25 01:11:28 +01:00
Test.pm Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00