mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Handle recursive ratio_over options correctly.
This commit is contained in:
parent
d68ab84faa
commit
57b134cc9c
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ sub get_value {
|
||||||
|
|
||||||
no strict 'refs';
|
no strict 'refs';
|
||||||
my $value = $self->get($opt_key);
|
my $value = $self->get($opt_key);
|
||||||
$value = $self->get($Options->{$opt_key}{ratio_over}) * $1/100
|
$value = $self->get_value($Options->{$opt_key}{ratio_over}) * $1/100
|
||||||
if $Options->{$opt_key}{ratio_over} && $value =~ /^(\d+(?:\.\d+)?)%$/;
|
if $Options->{$opt_key}{ratio_over} && $value =~ /^(\d+(?:\.\d+)?)%$/;
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue