mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:19:09 +08:00
Add REGISTER_CLASS call for Extruder class.
This commit is contained in:
parent
2565d80679
commit
c2b249d059
@ -1,4 +1,7 @@
|
|||||||
#include "Extruder.hpp"
|
#include "Extruder.hpp"
|
||||||
|
#ifdef SLIC3RXS
|
||||||
|
#include "perlglue.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
@ -39,4 +42,8 @@ Extruder::use_relative_e_distances() const
|
|||||||
return *static_cast<const ConfigOptionBool*>(opt);
|
return *static_cast<const ConfigOptionBool*>(opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SLIC3RXS
|
||||||
|
REGISTER_CLASS(Extruder, "Extruder");
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user