Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/Surface.cpp')
-rw-r--r--xs/src/libslic3r/Surface.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/xs/src/libslic3r/Surface.cpp b/xs/src/libslic3r/Surface.cpp
index e7d66c17b..4d2234e4d 100644
--- a/xs/src/libslic3r/Surface.cpp
+++ b/xs/src/libslic3r/Surface.cpp
@@ -54,18 +54,4 @@ Surface::is_bridge() const
|| this->surface_type == stInternalBridge;
}
-#ifdef SLIC3RXS
-
-REGISTER_CLASS(Surface, "Surface");
-
-void
-Surface::from_SV_check(SV* surface_sv)
-{
- if (!sv_isa(surface_sv, perl_class_name(this)) && !sv_isa(surface_sv, perl_class_name_ref(this)))
- CONFESS("Not a valid %s object", perl_class_name(this));
- // a XS Surface was supplied
- *this = *(Surface *)SvIV((SV*)SvRV( surface_sv ));
-}
-#endif
-
}