From c2b249d059e6351f60a91cc67b7413ef82e18122 Mon Sep 17 00:00:00 2001 From: "Y. Sapir" Date: Sun, 27 Apr 2014 23:44:10 +0300 Subject: [PATCH] Add REGISTER_CLASS call for Extruder class. --- xs/src/Extruder.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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 + }