From 4cb86fb4d0b54dafbcc45bbd9ccfefa46485cb4a Mon Sep 17 00:00:00 2001 From: Anders Pistol Date: Sun, 21 Jan 2024 23:00:03 +0100 Subject: [PATCH] Traktor: Increased split depth on SplitModel. --- code/Shape/Editor/Bake/Embree/SplitModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Shape/Editor/Bake/Embree/SplitModel.cpp b/code/Shape/Editor/Bake/Embree/SplitModel.cpp index 9c6ea86c5f..069436e700 100644 --- a/code/Shape/Editor/Bake/Embree/SplitModel.cpp +++ b/code/Shape/Editor/Bake/Embree/SplitModel.cpp @@ -70,7 +70,7 @@ void split(const model::Model* model, int32_t depth, const AlignedVector< model: const static Scalar c_smallLimit = 2.0_simd; const bool smallBounds = (size.x() <= c_smallLimit && size.y() <= c_smallLimit && size.z() <= c_smallLimit); - if (depth >= 3 || smallBounds) + if (depth >= 4 || smallBounds) { Ref< model::Model > part = DeepClone(model).create< model::Model >(); // new model::Model(); part->setPolygons(polygons);