1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fixed cutting plane z in 3D view when object is scaled

This commit is contained in:
Enrico Turri
2018-04-13 12:15:43 +02:00
parent acd8d2df98
commit 7b29ecb15c
+1 -1
View File
@@ -244,7 +244,7 @@ sub _update {
$self->{canvas}->reset_objects;
$self->{canvas}->load_object($_, undef, undef, [0]) for @objects;
$self->{canvas}->SetCuttingPlane(
$self->{cut_options}{z},
$self->{cut_options}{z} / $self->{model_object}->instances->[0]->scaling_factor,
[@expolygons],
);
$self->{canvas}->update_volumes_colors_by_extruder($self->GetParent->{config});