Stop interpolators constantly force updating mesh

This commit is contained in:
Boondorl 2024-12-13 10:16:25 -05:00 committed by Nash Muhandes
commit 419fc91522

View file

@ -510,10 +510,13 @@ void DSectorPlaneInterpolation::Interpolate(double smoothratio)
P_RecalculateAttached3DFloors(sector);
sector->CheckPortalPlane(pos);
if (ceiling)
LevelMeshUpdater->CeilingHeightChanged(sector);
else
LevelMeshUpdater->FloorHeightChanged(sector);
if (pplane->fD() != bakheight)
{
if (ceiling)
LevelMeshUpdater->CeilingHeightChanged(sector);
else
LevelMeshUpdater->FloorHeightChanged(sector);
}
}
}