mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Bugfix: most of the File menu items didn't work with --no-plater. #1112
This commit is contained in:
parent
d2425748a3
commit
f6dc712158
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue