SPE-1765: Fixed redundant emit of EVT_GLCANVAS_WIPETOWER_MOVED event

This commit is contained in:
enricoturri1966 2023-06-09 13:37:18 +02:00
parent 5de69b962e
commit eacffe0a57

View File

@ -4066,7 +4066,7 @@ void GLCanvas3D::do_move(const std::string& snapshot_type)
model_object->invalidate_bounding_box();
}
}
else if (v->is_wipe_tower)
else if (m_selection.is_wipe_tower() && v->is_wipe_tower)
// Move a wipe tower proxy.
wipe_tower_origin = v->get_volume_offset();
}