qbsp: call MergeAll in the right place
This commit is contained in:
parent
8a71b372bd
commit
f38746a7eb
|
|
@ -702,9 +702,6 @@ static void ProcessEntity(mapentity_t *entity, const int hullnum)
|
|||
// make a really good tree
|
||||
nodes = SolidBSP(entity, false);
|
||||
|
||||
// merge polygons
|
||||
MergeAll(nodes);
|
||||
|
||||
// make the real portals for vis tracing
|
||||
PortalizeWorld(entity, nodes, hullnum);
|
||||
}
|
||||
|
|
@ -718,6 +715,9 @@ static void ProcessEntity(mapentity_t *entity, const int hullnum)
|
|||
|
||||
MakeVisibleFaces(entity, nodes);
|
||||
|
||||
// merge polygons
|
||||
MergeAll(nodes);
|
||||
|
||||
// needs to come after any face creation
|
||||
MakeMarkFaces(entity, nodes);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue