Don't output slic3r:z attribute in SVG for raft layers

This commit is contained in:
Alessandro Ranellucci 2015-01-30 18:45:30 +01:00
parent e2b1b52679
commit 8605969dc5
5 changed files with 10 additions and 8 deletions

View file

@ -190,10 +190,9 @@ PrintObject::get_support_layer(int idx)
}
SupportLayer*
PrintObject::add_support_layer(int id, coordf_t height, coordf_t print_z,
coordf_t slice_z)
PrintObject::add_support_layer(int id, coordf_t height, coordf_t print_z)
{
SupportLayer* layer = new SupportLayer(id, this, height, print_z, slice_z);
SupportLayer* layer = new SupportLayer(id, this, height, print_z, -1);
support_layers.push_back(layer);
return layer;
}