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
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
ExtrusionPath.pm
Flow.pm
Geometry.pm Removed the Controller, Layer View, System Info, ObjectCutDialog, 2018-09-14 10:25:20 +02:00
Layer.pm
Line.pm
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
Test.pm Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00