mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Slightly walk back a copy slope "fix" to prevent DSZ2 from freezing the editor
This commit is contained in:
parent
d79a379b3b
commit
65604bab03
1 changed files with 10 additions and 8 deletions
|
@ -155,15 +155,17 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
}
|
||||
}
|
||||
|
||||
// sphere: This part causes DSZ2 to freeze ZB completely in Visual Mode.
|
||||
// TODO: figure out why, maybe fix it
|
||||
// Do it in 2 steps, because SectorData.Reset() may change SectorData.UpdateAlso collection...
|
||||
foreach(SectorData sd in toupdate)
|
||||
{
|
||||
// Update PlaneCopySlope Effect...
|
||||
sd.Reset(false);
|
||||
|
||||
// Update outer sides...
|
||||
UpdateSectorSides(sd.Sector);
|
||||
}
|
||||
//foreach(SectorData sd in toupdate)
|
||||
//{
|
||||
// // Update PlaneCopySlope Effect...
|
||||
// sd.Reset(false);
|
||||
//
|
||||
// // Update outer sides...
|
||||
// UpdateSectorSides(sd.Sector);
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue