speed up compilation - we don't need to make a copy of node->volume going into SplitBrush now
This commit is contained in:
parent
f17ce185f6
commit
f851fac655
|
|
@ -609,7 +609,7 @@ inline void CheckPlaneAgainstParents(size_t planenum, node_t *node)
|
|||
|
||||
static bool CheckPlaneAgainstVolume(size_t planenum, const node_t *node, bspstats_t &stats)
|
||||
{
|
||||
auto [front, back] = SplitBrush(node->volume->copy_unique(), planenum, stats);
|
||||
auto [front, back] = SplitBrush(node->volume, planenum, stats);
|
||||
|
||||
bool good = (front && back);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue