Toolpaths preview

This commit is contained in:
Alessandro Ranellucci 2014-07-03 09:24:19 +02:00
parent d8b1eff62f
commit 907de1011f
9 changed files with 532 additions and 4 deletions

View file

@ -1286,6 +1286,19 @@ sub object_settings_dialog {
}
}
sub toolpaths_preview {
my ($self) = @_;
# TODO: we should check whether steps are done in $print rather then checking the thread
if ($self->{process_thread}) {
Slic3r::GUI::show_error($self, "Unable to show preview while toolpaths are being generated.");
return;
}
my $dlg = Slic3r::GUI::Plater::2DToolpaths::Dialog->new($self, $self->{print});
$dlg->ShowModal;
}
sub object_list_changed {
my $self = shift;