diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-07-01 22:47:17 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-07-01 22:47:17 +0300 |
commit | 801f629fdc973f7f60dc5e4c2135940f89c3b959 (patch) | |
tree | 2214cdcf0f193f73c820b520a8b380d717900c35 /xs/src/libslic3r/GCode.cpp | |
parent | ab858f320dd0d6a3dc535d4fa20ee4f31b350837 (diff) |
Ported Slic3r::GCode storage to XS
Diffstat (limited to 'xs/src/libslic3r/GCode.cpp')
-rw-r--r-- | xs/src/libslic3r/GCode.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 313af8a2e..506e11982 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -97,4 +97,15 @@ Wipe::reset_path() REGISTER_CLASS(Wipe, "GCode::Wipe"); #endif +GCode::GCode() + : enable_loop_clipping(true), enable_cooling_markers(false), layer_count(0), + layer_index(-1), first_layer(false), elapsed_time(0), volumetric_speed(0), + last_pos_defined(false) +{ +} + +#ifdef SLIC3RXS +REGISTER_CLASS(GCode, "GCode"); +#endif + } |