mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-03 05:30:40 +08:00
Include all Print options in the overridable options list. #3770
This commit is contained in:
parent
a267af2e1a
commit
93c298f7ac
@ -452,9 +452,10 @@ sub build {
|
||||
my $overridable_widget = sub {
|
||||
my ($parent) = @_;
|
||||
|
||||
my $Options = $Slic3r::Config::Options;
|
||||
my %options = (
|
||||
map { $_ => sprintf('%s > %s', $Slic3r::Config::Options->{$_}{category}, $Slic3r::Config::Options->{$_}{full_label} // $Slic3r::Config::Options->{$_}{label}) }
|
||||
map @{$_->get_keys}, Slic3r::Config::PrintObject->new, Slic3r::Config::PrintRegion->new
|
||||
map { $_ => sprintf('%s > %s', $Options->{$_}{category}, $Options->{$_}{full_label} // $Options->{$_}{label}) }
|
||||
grep { exists $Options->{$_} && $Options->{$_}{category} } $self->options
|
||||
);
|
||||
my @opt_keys = sort { $options{$a} cmp $options{$b} } keys %options;
|
||||
$self->{overridable_opt_keys} = [ @opt_keys ];
|
||||
|
@ -144,6 +144,7 @@ PrintConfigDef::PrintConfigDef()
|
||||
|
||||
def = this->add("complete_objects", coBool);
|
||||
def->label = "Complete individual objects";
|
||||
def->category = "Advanced";
|
||||
def->tooltip = "When printing multiple objects or copies, this feature will complete each object before moving onto next one (and starting it from its bottom layer). This feature is useful to avoid the risk of ruined prints. Slic3r should warn and prevent you from extruder collisions, but beware.";
|
||||
def->cli = "complete-objects!";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user