From aad711bb7358f6c1b95d7eb62a8c39180be9e728 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 1 Jun 2022 18:45:02 -0400 Subject: [PATCH] HACK: always connect bmodels to their brushes. this is temporary until we can figure out why the node bounds are wrong --- qbsp/qbsp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index a96c4df5..2d661c3c 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -204,7 +204,7 @@ static void ExportBrushList_r(const mapentity_t *entity, node_t *node, const uin std::vector 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++;