Count vertices without any attached lines as non-essential

This commit is contained in:
spherallic 2022-12-19 23:06:01 +01:00
parent eb28b2aa70
commit 44159ebbd4
1 changed files with 2 additions and 0 deletions

View File

@ -1004,6 +1004,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
ICollection<Vertex> selected = General.Map.Map.GetSelectedVertices(true);
foreach (Vertex v in selected)
{
if (v.Linedefs.Count == 0)
counter++;
if (v.Linedefs.Count == 2)
{
Linedef ld1 = General.GetByIndex(v.Linedefs, 0);