An extra empty radial is still needed for incomplete data when smoothing

This commit is contained in:
Dan Paulat 2024-12-02 22:35:13 -06:00
parent a5919ac917
commit e0cd3610a6

View file

@ -540,7 +540,7 @@ void Level2ProductView::ComputeSweep()
// When there is missing data, insert another empty vertex radial at the end
// to avoid stretching
const bool isRadarDataIncomplete = Impl::IsRadarDataIncomplete(radarData);
if (isRadarDataIncomplete && !smoothingEnabled)
if (isRadarDataIncomplete)
{
++vertexRadials;
}