mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Prevent user from saving a preset with the "- default -" name. #1717
This commit is contained in:
@@ -119,7 +119,7 @@ sub _handle_legacy {
|
||||
if ($opt_key eq 'gcode_flavor' && $value eq 'makerbot') {
|
||||
$value = 'makerware';
|
||||
}
|
||||
if ($opt_key eq 'fill_density' && $value <= 1) {
|
||||
if ($opt_key eq 'fill_density' && defined($value) && $value <= 1) {
|
||||
# fill_density was turned into a percent value
|
||||
$value *= 100;
|
||||
$value = "$value"; # force update of the PV value, workaround for bug https://rt.cpan.org/Ticket/Display.html?id=94110
|
||||
|
||||
Reference in New Issue
Block a user