Bugfix: most of the File menu items didn't work with --no-plater. #1112

xs
Alessandro Ranellucci 2013-05-13 18:22:47 +02:00
parent d2425748a3
commit f6dc712158
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ sub config {
# retrieve filament presets and build a single config object for them
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;
} else {
# TODO: handle dirty presets.