mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
corrections
This commit is contained in:
parent
5b4b6acda5
commit
9d8d43c176
1 changed files with 6 additions and 6 deletions
|
@ -1036,11 +1036,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
Vector2D offset = new Vector2D(xoffset, yoffset);
|
||||
|
||||
if (sectortag == 0)
|
||||
{
|
||||
if (markedOnly && !l.Marked)
|
||||
continue;
|
||||
ApplyFlatAlignment(l, l.Front.Sector, alignfloor, alignceiling, offset, rotation);
|
||||
}
|
||||
else if (sectortags.ContainsKey(sectortag))
|
||||
{
|
||||
if (markedOnly && !(s.Marked || l.Marked))
|
||||
continue;
|
||||
{
|
||||
List<Sector> sectors = sectortags[sectortag];
|
||||
foreach (Sector s in sectors)
|
||||
{
|
||||
|
@ -1610,7 +1612,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
// Dispose if source was disposed or marked
|
||||
var newSectors = new Dictionary<Sector,VisualSector>(allsectors.Count);
|
||||
General.Test("!Rebuild sector list", () => {
|
||||
foreach (KeyValuePair<Sector, VisualSector> vs in allsectors)
|
||||
{
|
||||
if (vs.Value != null)
|
||||
|
@ -1620,8 +1621,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
else
|
||||
newSectors.Add(vs.Key, vs.Value);
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
// Things depend on the sector they are in and because we can't
|
||||
// easily determine which ones changed, we dispose all things
|
||||
|
|
Loading…
Reference in a new issue