mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-21 22:20:02 +02:00
New [print_preset], [filament_preset] and [printer_preset] variables. #675
This commit is contained in:
1 parent
e0d5f4e528
commit
7a5071f66c
2 files changed
+4
No files matched your search
@@ -508,6 +508,8 @@ sub export_gcode {
|
||||
|
||||
# set this before spawning the thread because ->config needs GetParent and it's not available there
|
||||
$self->{print}->config($self->skeinpanel->config);
|
||||
$self->{print}->extra_variables->{"${_}_preset"} = $self->skeinpanel->{options_tabs}{$_}->current_preset->{name}
|
||||
for qw(print filament printer);
|
||||
|
||||
# select output file
|
||||
$self->{output_file} = $main::opt{output};
|
||||
|
||||
Reference in new issue
Block a user