mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:39:00 +08:00
Bugfix: fatal error when a layer contained nothing
This commit is contained in:
parent
464400a37b
commit
20229fccdb
@ -568,7 +568,7 @@ sub write_gcode {
|
|||||||
if $Slic3r::support_material_tool > 0;
|
if $Slic3r::support_material_tool > 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last if !$gcode;
|
return if !$gcode;
|
||||||
|
|
||||||
my $fan_speed = $Slic3r::fan_always_on ? $Slic3r::min_fan_speed : 0;
|
my $fan_speed = $Slic3r::fan_always_on ? $Slic3r::min_fan_speed : 0;
|
||||||
my $speed_factor = 1;
|
my $speed_factor = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user