mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-25 05:11:10 +00:00
- Remove SelectVertexClose() uniqueness failure compensation code, since it can produce nodes
that violate the GL node spec and thus cannot be saved. ClassifyLine() looks like the right place to handle this, but I'd prefer not to touch it unless somebody produces a map that shows it's absolutely necessary, since this single function is responsible for the vast majority of the time spent by the nodebuilder. SVN r2093 (trunk)
This commit is contained in:
parent
fdaa6547f6
commit
6f4e5f01ce
1 changed files with 0 additions and 17 deletions
|
@ -806,23 +806,6 @@ void FNodeBuilder::SplitSegs (DWORD set, node_t &node, DWORD splitseg, DWORD &ou
|
|||
if (vertnum == seg->v1 || vertnum == seg->v2)
|
||||
{
|
||||
Printf("SelectVertexClose selected endpoint of seg %u\n", set);
|
||||
// Check if the resulting split vertex matches one of the line's ends.
|
||||
// In this case this seg must not be split
|
||||
if ((vertnum == seg->v1 && sidev2 == -1) || (vertnum == seg->v2 && sidev1 == -1))
|
||||
{
|
||||
side = 0;
|
||||
sidev1 = 0;
|
||||
seg->next = outset0;
|
||||
outset0 = set;
|
||||
}
|
||||
else
|
||||
{
|
||||
side = 1;
|
||||
sidev2 = 0;
|
||||
seg->next = outset1;
|
||||
outset1 = set;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
seg2 = SplitSeg (set, vertnum, sidev1);
|
||||
|
|
Loading…
Reference in a new issue