Fixed warning

This commit is contained in:
enricoturri1966 2023-08-21 10:18:28 +02:00
parent 200df9c02d
commit b66402c62d

View File

@ -2271,7 +2271,7 @@ void GCodeViewer::load_shells(const Print& print)
// removes volumes which are completely below bed
int i = 0;
while (i < m_shells.volumes.volumes.size()) {
while (i < (int)m_shells.volumes.volumes.size()) {
GLVolume* v = m_shells.volumes.volumes[i];
if (v->transformed_bounding_box().max.z() < SINKING_MIN_Z_THRESHOLD + EPSILON) {
delete v;