SPE-1342 - Fixed crash after undo in SLA support point gizmo

This commit is contained in:
enricoturri1966 2022-10-10 14:41:05 +02:00
parent 5cba1e8319
commit 4fb7bb8dec

View File

@ -78,7 +78,6 @@ void GLGizmoSlaSupports::data_changed()
if (mo) {
if (mo->sla_points_status == sla::PointsStatus::Generating)
get_data_from_backend();
}
#if ENABLE_RAYCAST_PICKING
if (m_raycasters.empty())
@ -86,6 +85,7 @@ void GLGizmoSlaSupports::data_changed()
else
update_raycasters_for_picking_transform();
#endif // ENABLE_RAYCAST_PICKING
}
}