qbsp: make -nofill still write out .prt file, for diagnosis
This commit is contained in:
parent
0d25b8b1fa
commit
5c897000f3
|
|
@ -603,10 +603,10 @@ static void ProcessEntity(mapentity_t *entity, const int hullnum)
|
|||
|
||||
// build all the portals in the bsp tree
|
||||
// some portals are solid polygons, and some are paths to other leafs
|
||||
if (entity == pWorldEnt() && !options.fNofill) {
|
||||
if (entity == pWorldEnt()) {
|
||||
// assume non-world bmodels are simple
|
||||
PortalizeWorld(entity, nodes, hullnum);
|
||||
if (FillOutside(nodes, hullnum)) {
|
||||
if (!options.fNofill && FillOutside(nodes, hullnum)) {
|
||||
FreeAllPortals(nodes);
|
||||
|
||||
// get the remaining faces together into surfaces again
|
||||
|
|
|
|||
Loading…
Reference in New Issue