File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,10 @@ void SkinInfillAreaComputation::generateSkinInsets(SkinPart& skin_part)
387387 }
388388
389389 // optimize polygons: remove unnecessary verts
390- skin_part.insets [inset_idx].simplify ();
390+ const ExtruderTrain& train_wall = mesh.settings .get <ExtruderTrain&>(inset_idx == 0 ? " wall_0_extruder_nr" : " wall_x_extruder_nr" );
391+ const coord_t maximum_resolution = train_wall.settings .get <coord_t >(" meshfix_maximum_resolution" );
392+ const coord_t maximum_deviation = train_wall.settings .get <coord_t >(" meshfix_maximum_deviation" );
393+ skin_part.insets [inset_idx].simplify (maximum_resolution, maximum_deviation);
391394 if (skin_part.insets [inset_idx].size () < 1 )
392395 {
393396 skin_part.insets .pop_back ();
You can’t perform that action at this time.
0 commit comments