mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 20:15:55 +08:00
Fixed validator to properly only trigger on 0% or 0.
This commit is contained in:
parent
5c2ab11fcd
commit
f725b519e8
@ -271,8 +271,8 @@ sub validate {
|
||||
|
||||
# support material
|
||||
if ($self->support_material) {
|
||||
die "Angle value of 0 is illegal. Use some % value instead (e.g. 150%)\n"
|
||||
if $self->support_material_threshold == 0 || $self->support_material_threshold eq '0';
|
||||
die "Value of 0 is illegal. Use some % value instead (e.g. 150%) for auto.\n"
|
||||
if $self->support_material_threshold =~ /^0+/;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user