mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Visual mode: fixed a freeze when sectors with sector effects were recursively updating each other.
This commit is contained in:
parent
f419db1518
commit
776c357265
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
// Also reset the sectors that depend on this sector
|
// Also reset the sectors that depend on this sector
|
||||||
foreach(KeyValuePair<Sector, bool> s in updatesectors)
|
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);
|
SectorData sd = mode.GetSectorData(s.Key);
|
||||||
sd.Reset();
|
sd.Reset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue