mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
More work on print controller
This commit is contained in:
parent
c06ce3b58c
commit
2c0d216c1a
15 changed files with 626 additions and 63 deletions
|
@ -229,7 +229,7 @@ sub _init_menubar {
|
|||
$self->select_tab($tab_count-1);
|
||||
});
|
||||
$windowMenu->AppendSeparator();
|
||||
$self->_append_menu_item($windowMenu, "Printer Controller", 'Show the printer controller', sub {
|
||||
$self->_append_menu_item($windowMenu, "Printer &Controller\tCtrl+T", 'Show the printer controller', sub {
|
||||
wxTheApp->show_printer_controller;
|
||||
});
|
||||
}
|
||||
|
@ -674,6 +674,17 @@ sub config {
|
|||
return $config;
|
||||
}
|
||||
|
||||
sub filament_preset_names {
|
||||
my ($self) = @_;
|
||||
|
||||
if ($self->{mode} eq 'simple') {
|
||||
return '';
|
||||
}
|
||||
|
||||
return map $self->{options_tabs}{filament}->get_preset($_)->name,
|
||||
$self->{plater}->filament_presets;
|
||||
}
|
||||
|
||||
sub check_unsaved_changes {
|
||||
my $self = shift;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue