mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Comment about GetSelection() being context-aware. #2873
This commit is contained in:
@@ -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} };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user