From 7f1704b2ac561e4a7634e4a6928946d6034a5ecf Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sun, 13 Nov 2016 23:35:56 +0100 Subject: Disabled live preview by default as it is not stable and/or the calculation takes too long for interactive usage. --- lib/Slic3r/GUI/Plater/ObjectCutDialog.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm index cfdeba649..9e4b33976 100644 --- a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm @@ -30,7 +30,9 @@ sub new { keep_upper => 1, keep_lower => 1, rotate_lower => 1, - preview => 1, +# preview => 1, +# Disabled live preview by default as it is not stable and/or the calculation takes too long for interactive usage. + preview => 0, }; my $optgroup; @@ -258,7 +260,8 @@ sub _update { $optgroup->get_field('keep_upper')->toggle(my $have_upper = abs($z - $optgroup->get_option('z')->max) > 0.1); $optgroup->get_field('keep_lower')->toggle(my $have_lower = $z > 0.1); $optgroup->get_field('rotate_lower')->toggle($z > 0 && $self->{cut_options}{keep_lower}); - $optgroup->get_field('preview')->toggle($self->{cut_options}{keep_upper} != $self->{cut_options}{keep_lower}); +# Disabled live preview by default as it is not stable and/or the calculation takes too long for interactive usage. +# $optgroup->get_field('preview')->toggle($self->{cut_options}{keep_upper} != $self->{cut_options}{keep_lower}); # update cut button if (($self->{cut_options}{keep_upper} && $have_upper) -- cgit v1.2.3