mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-04 22:31:02 +00:00
Belt slicing: only model parts set the layer range again
The filter was lost with the debug logging it shared an #if with, so modifiers and support blockers stretched the sliced range of a belt object.
This commit is contained in:
@@ -41,6 +41,7 @@ void BeltSliceStrategy::apply_preslice_transforms(Transform3d &trafo,
|
||||
|
||||
double min_z = std::numeric_limits<double>::max();
|
||||
for (const ModelVolume *mv : model_volumes) {
|
||||
if (!mv->is_model_part()) continue;
|
||||
Transform3d vol_trafo = trafo * mv->get_matrix();
|
||||
const auto &its = mv->mesh().its;
|
||||
for (const stl_vertex &v : its.vertices) {
|
||||
|
||||
Reference in New Issue
Block a user