Validate the height values entered into the layer height table.

Clamp these values between the minimum of min_layer_height per nozzle
and the maximum of max_layer_height per nozzle.
Don't allow entering zero layer height to trim an object,
the cut dialog should be used instead.

Fixes https://github.com/prusa3d/Slic3r/issues/235
This commit is contained in:
bubnikv 2017-04-05 13:27:00 +02:00
parent 6f5700a3a6
commit b66bfb41aa
2 changed files with 32 additions and 3 deletions

View file

@ -1819,6 +1819,7 @@ sub object_settings_dialog {
my $dlg = Slic3r::GUI::Plater::ObjectSettingsDialog->new($self,
object => $self->{objects}[$obj_idx],
model_object => $model_object,
config => $self->GetFrame->config,
);
$self->pause_background_process;
$dlg->ShowModal;