mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Comment about GetSelection() being context-aware. #2873
This commit is contained in:
@@ -471,6 +471,7 @@ sub update_presets {
|
|||||||
sub filament_presets {
|
sub filament_presets {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
|
# force scalar context for GetSelection() as it's context-aware
|
||||||
return map scalar($_->GetSelection), @{ $self->{preset_choosers}{filament} };
|
return map scalar($_->GetSelection), @{ $self->{preset_choosers}{filament} };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user