HACK: always connect bmodels to their brushes. this is temporary until we can figure out why the node bounds are wrong

This commit is contained in:
Jonathan 2022-06-01 18:45:02 -04:00
parent f64c8e7160
commit aad711bb73
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ static void ExportBrushList_r(const mapentity_t *entity, node_t *node, const uin
std::vector<uint32_t> brushes;
for (auto &b : entity->brushes) {
if (!node->bounds.disjoint_or_touching(b.bounds)) {
if (entity != map.world_entity() || !node->bounds.disjoint_or_touching(b.bounds)) {
brushes.push_back(b_id);
}
b_id++;