Eliminate some race conditions in sla support tree

This commit is contained in:
tamasmeszaros 2019-10-03 12:20:02 +02:00
parent 95e22d8fd4
commit 23a7e77a81
3 changed files with 53 additions and 50 deletions

View file

@ -250,7 +250,7 @@ void test_support_model_collision(
// Set head penetration to a small negative value which should ensure that
// the supports will not touch the model body.
supportcfg.head_penetration_mm = -0.1;
supportcfg.head_penetration_mm = -input_supportcfg.head_front_radius_mm;
test_supports(obj_filename, supportcfg, byproducts);
@ -286,7 +286,7 @@ const char * const AROUND_PAD_TEST_OBJECTS[] = {
};
const char *const SUPPORT_TEST_MODELS[] = {
"cube_with_concave_hole_enlarged_standing.obj",
"cube_with_concave_hole_enlarged_standing.obj"
};
} // namespace