mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Handle recursive ratio_over options correctly.
This commit is contained in:
1 parent
d68ab84faa
commit
57b134cc9c
1 file changed
+1
-1
@@ -858,7 +858,7 @@ sub get_value {
|
||||
|
||||
no strict 'refs';
|
||||
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+)?)%$/;
|
||||
return $value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user