Stop interpolators constantly force updating mesh
This commit is contained in:
parent
8b03f32ce6
commit
419fc91522
1 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue