PrusaSlicer-NonPlainar/xs
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
..
lib/Slic3r Merged with dev 2018-09-12 11:59:02 +02:00
src Fix of perl bindings 2019-03-13 17:38:48 +01:00
t Yet one more fix of a unit test. 2019-01-24 20:53:15 +01:00
xsp Fixed unit tests when run with range checks on std::vector 2019-05-22 16:48:20 +02:00
CMakeLists.txt Upgrade Boost to 1.66 on Windows 2019-01-16 15:14:18 +01:00
main.xs.in Upgrade Boost to 1.66 on Windows 2019-01-16 15:14:18 +01:00