mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-14 03:02:52 +02:00
More work on print controller
This commit is contained in:
1 parent
c06ce3b58c
commit
2c0d216c1a
15 files changed
+626
-63
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user