Visual mode: fixed a freeze when sectors with sector effects were recursively updating each other.

This commit is contained in:
MaxED 2013-06-17 09:42:49 +00:00
parent f419db1518
commit 776c357265

View file

@ -182,6 +182,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Also reset the sectors that depend on this sector
foreach(KeyValuePair<Sector, bool> s in updatesectors)
{
//mxd
BaseVisualSector vs = (BaseVisualSector)mode.GetVisualSector(s.Key);
if(vs.Changed) continue;
SectorData sd = mode.GetSectorData(s.Key);
sd.Reset();
}