mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
1 parent
d801876ee9
commit
30ce7dc745
1 file changed
+11
@@ -78,6 +78,17 @@ sub load_config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub set_value {
|
||||||
|
my $self = shift;
|
||||||
|
my ($opt_key, $value) = @_;
|
||||||
|
|
||||||
|
my $changed = 0;
|
||||||
|
foreach my $optgroup (@{$self->{optgroups}}) {
|
||||||
|
$changed = 1 if $optgroup->set_value($opt_key, $value);
|
||||||
|
}
|
||||||
|
return $changed;
|
||||||
|
}
|
||||||
|
|
||||||
sub is_dirty { 0 }
|
sub is_dirty { 0 }
|
||||||
sub config { $_[0]->{config}->clone }
|
sub config { $_[0]->{config}->clone }
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user