Skip to content

Commit

Permalink
Fix for #9991 - Cut tool does not work properly as in alpha 4
Browse files Browse the repository at this point in the history
  • Loading branch information
YuSanka committed Mar 9, 2023
1 parent 872d76e commit 57fda9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ void ModelObject::process_connector_cut(ModelVolume* volume, const Transform3d&

// Perform cut
TriangleMesh upper_mesh, lower_mesh;
process_volume_cut(volume, instance_matrix, cut_matrix, attributes, upper_mesh, lower_mesh);
process_volume_cut(volume, Transform3d::Identity(), cut_matrix, attributes, upper_mesh, lower_mesh);

// add small Z offset to better preview
upper_mesh.translate((-0.05 * Vec3d::UnitZ()).cast<float>());
Expand Down

0 comments on commit 57fda9a

Please sign in to comment.