From fddb87287a2629416be0088daa0928909d53685a Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 23 Oct 2015 17:22:05 -0600 Subject: [PATCH] qbsp: DividePlane: always use bugfix from 7e7d851 regardless of maxNodeSize setting --- qbsp/solidbsp.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/qbsp/solidbsp.c b/qbsp/solidbsp.c index 237df63b..e3adc88c 100644 --- a/qbsp/solidbsp.c +++ b/qbsp/solidbsp.c @@ -563,14 +563,8 @@ DividePlane(surface_t *in, plane_t *split, surface_t **front, // ericw -- added these CalcSurfaceInfo to recalculate the surf bbox. // pretty sure their omission here was a bug. - // It's tied to options.maxNodeSize because that change needs - // valid bboxes to work well (txqbsp-xt calculated the node bbox from - // faces in SelectPartition) - if (options.maxNodeSize >= 64) { - // recalc bboxes and flags - CalcSurfaceInfo(newsurf); - CalcSurfaceInfo(in); - } + CalcSurfaceInfo(newsurf); + CalcSurfaceInfo(in); if (in->faces) *front = in;