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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-04-11 18:05:58 +0300
committerbubnikv <bubnikv@gmail.com>2016-04-11 18:05:58 +0300
commit7da68c91a5c5544a3cb20a4d00b7a370c2af32fe (patch)
tree66c33cdbcbd464087d7d3201f93fa7bec7cbbf11 /xs/src/perlglue.cpp
parentd392858ee35ef993180c7c23dac610e691baf8b4 (diff)
Vojtech likes to use Sublime on Windows to get the wheels rolling.
Diffstat (limited to 'xs/src/perlglue.cpp')
-rw-r--r--xs/src/perlglue.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xs/src/perlglue.cpp b/xs/src/perlglue.cpp
index 55e00bc3a..6dda82a1b 100644
--- a/xs/src/perlglue.cpp
+++ b/xs/src/perlglue.cpp
@@ -1,5 +1,6 @@
#ifdef SLIC3RXS
#include <xsinit.h>
+#include <assert.h>
namespace Slic3r {
@@ -10,6 +11,8 @@ REGISTER_CLASS(ExtrusionPath, "ExtrusionPath");
REGISTER_CLASS(ExtrusionLoop, "ExtrusionLoop");
// there is no ExtrusionLoop::Collection or ExtrusionEntity::Collection
REGISTER_CLASS(ExtrusionEntityCollection, "ExtrusionPath::Collection");
+REGISTER_CLASS(ExtrusionSimulator, "ExtrusionSimulator");
+REGISTER_CLASS(Filler, "Filler");
REGISTER_CLASS(Flow, "Flow");
REGISTER_CLASS(AvoidCrossingPerimeters, "GCode::AvoidCrossingPerimeters");
REGISTER_CLASS(OozePrevention, "GCode::OozePrevention");
@@ -391,6 +394,7 @@ void from_SV(SV* poly_sv, MultiPoint* THIS)
void from_SV_check(SV* poly_sv, MultiPoint* THIS)
{
if (sv_isobject(poly_sv) && (SvTYPE(SvRV(poly_sv)) == SVt_PVMG)) {
+// (MultiPoint*)SvIV((SV*)SvRV( poly_sv ))
*THIS = *(MultiPoint*)SvIV((SV*)SvRV( poly_sv ));
} else {
from_SV(poly_sv, THIS);