mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-22 04:28:05 +08:00
Bugfix: most of the File menu items didn't work with --no-plater. #1112
This commit is contained in:
parent
d2425748a3
commit
f6dc712158
@ -331,7 +331,7 @@ sub config {
|
|||||||
|
|
||||||
# retrieve filament presets and build a single config object for them
|
# retrieve filament presets and build a single config object for them
|
||||||
my $filament_config;
|
my $filament_config;
|
||||||
if ($self->{plater}->filament_presets == 1 || $self->{mode} eq 'simple') {
|
if (!$self->{plater} || $self->{plater}->filament_presets == 1 || $self->{mode} eq 'simple') {
|
||||||
$filament_config = $self->{options_tabs}{filament}->config;
|
$filament_config = $self->{options_tabs}{filament}->config;
|
||||||
} else {
|
} else {
|
||||||
# TODO: handle dirty presets.
|
# TODO: handle dirty presets.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user