mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-17 15:03:04 -07:00
Replace to_SV_ref() and to_SV_clone_ref() with templated glue functions
This commit is contained in:
@@ -592,9 +592,9 @@ polynode2perl(const ClipperLib::PolyNode& node)
|
||||
Slic3r::Polygon p;
|
||||
ClipperPath_to_Slic3rMultiPoint(node.Contour, p);
|
||||
if (node.IsHole()) {
|
||||
(void)hv_stores( hv, "hole", p.to_SV_clone_ref() );
|
||||
(void)hv_stores( hv, "hole", Slic3r::perl_to_SV_clone_ref(p) );
|
||||
} else {
|
||||
(void)hv_stores( hv, "outer", p.to_SV_clone_ref() );
|
||||
(void)hv_stores( hv, "outer", Slic3r::perl_to_SV_clone_ref(p) );
|
||||
}
|
||||
(void)hv_stores( hv, "children", polynode_children_2_perl(node) );
|
||||
return (SV*)newRV_noinc((SV*)hv);
|
||||
|
||||
Reference in New Issue
Block a user