diff --git a/xs/src/Extruder.cpp b/xs/src/Extruder.cpp index 8194f7149..3dce80ea7 100644 --- a/xs/src/Extruder.cpp +++ b/xs/src/Extruder.cpp @@ -1,4 +1,7 @@ #include "Extruder.hpp" +#ifdef SLIC3RXS +#include "perlglue.hpp" +#endif namespace Slic3r { @@ -39,4 +42,8 @@ Extruder::use_relative_e_distances() const return *static_cast(opt); } +#ifdef SLIC3RXS +REGISTER_CLASS(Extruder, "Extruder"); +#endif + }