mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Return Surface objects by reference from SurfaceCollection objects and fix a bug in XS code causing some shell options to be ignored
This commit is contained in:
parent
cb677c45de
commit
e02ae0d18a
9 changed files with 68 additions and 47 deletions
|
@ -181,6 +181,11 @@ sub clone {
|
|||
);
|
||||
}
|
||||
|
||||
package Slic3r::Surface::Ref;
|
||||
our @ISA = 'Slic3r::Surface';
|
||||
|
||||
sub DESTROY {}
|
||||
|
||||
package Slic3r::Surface::Collection;
|
||||
use overload
|
||||
'@{}' => sub { $_[0]->arrayref },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue