Fixing build on Win and OSX

This commit is contained in:
tamasmeszaros
2019-05-20 11:19:43 +02:00
parent 4e57283282
commit b6427cddd3
5 changed files with 65 additions and 25 deletions

View File

@@ -742,7 +742,7 @@ void SLAPrint::process()
// We apply the printer correction offset here.
if(clpr_offs != 0)
po.m_model_slices[id] =
offset_ex(po.m_model_slices[id], clpr_offs);
offset_ex(po.m_model_slices[id], float(clpr_offs));
mit->set_model_slice_idx(po, id); ++mit;
}