Merge remote-tracking branch 'udb/master'

This commit is contained in:
spherallic 2023-06-20 09:58:08 +02:00
commit 202a8294ba
3 changed files with 4 additions and 0 deletions

View file

@ -152,6 +152,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
{
// Reset settings
points.Clear();
gridpoints.Clear();
labels.Clear();
drawingautoclosed = false;

View file

@ -515,6 +515,8 @@ namespace CodeImp.DoomBuilder.UDBScript.Wrapper
public SectorWrapper getSector()
{
thing.DetermineSector();
if (thing.Sector == null)
return null;
return new SectorWrapper(thing.Sector);
}

View file

@ -243,6 +243,7 @@ namespace CodeImp.DoomBuilder.UDBScript
if (result != null)
{
filetree.SelectedNodes.Add(result);
result.EnsureVisible();
break;
}
}