qbsp: make -debugleafvolumes only write out solid leafs
This commit is contained in:
parent
7a014819f0
commit
1160352a24
|
|
@ -438,7 +438,9 @@ static void GatherBspbrushes_r(node_t *node, bspbrush_t::container &container)
|
|||
static void GatherLeafVolumes_r(node_t *node, bspbrush_t::container &container)
|
||||
{
|
||||
if (node->is_leaf) {
|
||||
container.push_back(node->volume);
|
||||
if (!node->contents.is_empty(qbsp_options.target_game)) {
|
||||
container.push_back(node->volume);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue