Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Fix crash reported by Simooon on #Slic3r."

It turns out this helped on the version of stable I was using
but not on master.

This reverts commit 8df6e2d.
  • Loading branch information...
commit 59ebdebf72303b9628b787904a525bb1808d5121 1 parent 8df6e2d
@beanz beanz authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  lib/Slic3r/GUI/Plater.pm
View
3  lib/Slic3r/GUI/Plater.pm
@@ -5,7 +5,6 @@ use utf8;
use File::Basename qw(basename dirname);
use List::Util qw(max sum first);
-use Scalar::Util qw/looks_like_number/;
use Slic3r::Geometry::Clipper qw(offset JT_ROUND);
use Slic3r::Geometry qw(X Y Z MIN MAX convex_hull scale unscale);
use threads::shared qw(shared_clone);
@@ -947,8 +946,6 @@ sub on_config_change {
sub _update_bed_size {
my $self = shift;
- return if (grep !looks_like_number($_), @{ $self->{config}->bed_size });
-
# supposing the preview canvas is square, calculate the scaling factor
# to constrain print bed area inside preview
# when the canvas is not rendered yet, its GetSize() method returns 0,0
Please sign in to comment.
Something went wrong with that request. Please try again.