mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fix regression in Quick Slice and Slice to SVG
This commit is contained in:
parent
67bf99633e
commit
cc4a5412ae
1 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@ use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use utf8;
|
use utf8;
|
||||||
|
|
||||||
use File::Basename qw/dirname/;
|
use File::Basename qw(basename dirname);
|
||||||
use List::Util qw(min);
|
use List::Util qw(min);
|
||||||
use Slic3r::Geometry qw(X Y Z);
|
use Slic3r::Geometry qw(X Y Z);
|
||||||
use Wx qw(:frame :bitmap :id :misc :notebook :panel :sizer :menu :dialog :filedialog
|
use Wx qw(:frame :bitmap :id :misc :notebook :panel :sizer :menu :dialog :filedialog
|
||||||
|
@ -296,8 +296,11 @@ sub quick_slice {
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# keep model around
|
||||||
|
my $model = Slic3r::Model->read_from_file($input_file);
|
||||||
|
|
||||||
$sprint->apply_config($config);
|
$sprint->apply_config($config);
|
||||||
$sprint->set_model(Slic3r::Model->read_from_file($input_file));
|
$sprint->set_model($model);
|
||||||
|
|
||||||
{
|
{
|
||||||
my $extra = $self->extra_variables;
|
my $extra = $self->extra_variables;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue