Ported Slic3r::GCode storage to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 21:47:17 +02:00
parent ab858f320d
commit 801f629fdc
13 changed files with 199 additions and 64 deletions

View file

@ -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
}