mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 04:14:03 +08:00
Comment about GetSelection() being context-aware. #2873
This commit is contained in:
parent
5b82f09308
commit
d549393a84
@ -471,6 +471,7 @@ sub update_presets {
|
||||
sub filament_presets {
|
||||
my $self = shift;
|
||||
|
||||
# force scalar context for GetSelection() as it's context-aware
|
||||
return map scalar($_->GetSelection), @{ $self->{preset_choosers}{filament} };
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user