mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:12:02 +08:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
commit
43757df016
@ -212,6 +212,7 @@ sub _update_shape {
|
|||||||
my $rect_origin = $self->{optgroups}[SHAPE_RECTANGULAR]->get_value('rect_origin');
|
my $rect_origin = $self->{optgroups}[SHAPE_RECTANGULAR]->get_value('rect_origin');
|
||||||
my ($x, $y) = @$rect_size;
|
my ($x, $y) = @$rect_size;
|
||||||
return if !looks_like_number($x) || !looks_like_number($y); # empty strings or '-' or other things
|
return if !looks_like_number($x) || !looks_like_number($y); # empty strings or '-' or other things
|
||||||
|
return if !$x || !$y;
|
||||||
my ($x0, $y0) = (0,0);
|
my ($x0, $y0) = (0,0);
|
||||||
my ($x1, $y1) = ($x,$y);
|
my ($x1, $y1) = ($x,$y);
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user