Fixed warning

This commit is contained in:
enricoturri1966 2021-12-22 11:12:46 +01:00
parent e77f89cf5d
commit c44fd43307

View File

@ -5724,7 +5724,7 @@ void Plater::export_stl(bool extended, bool selection_only)
mesh.merge(m);
}
}
else if (0 <= instance_id && instance_id < mo.instances.size())
else if (0 <= instance_id && instance_id < int(mo.instances.size()))
mesh.transform(mo.instances[instance_id]->get_matrix(), true);
return mesh;