Count vertices without any attached lines as non-essential
This commit is contained in:
parent
eb28b2aa70
commit
44159ebbd4
|
@ -1004,6 +1004,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
ICollection<Vertex> selected = General.Map.Map.GetSelectedVertices(true);
|
ICollection<Vertex> selected = General.Map.Map.GetSelectedVertices(true);
|
||||||
foreach (Vertex v in selected)
|
foreach (Vertex v in selected)
|
||||||
{
|
{
|
||||||
|
if (v.Linedefs.Count == 0)
|
||||||
|
counter++;
|
||||||
if (v.Linedefs.Count == 2)
|
if (v.Linedefs.Count == 2)
|
||||||
{
|
{
|
||||||
Linedef ld1 = General.GetByIndex(v.Linedefs, 0);
|
Linedef ld1 = General.GetByIndex(v.Linedefs, 0);
|
||||||
|
|
Loading…
Reference in New Issue