Skip to content

Commit

Permalink
Traktor: Increased split depth on SplitModel.
Browse files Browse the repository at this point in the history
  • Loading branch information
apistol78 committed Jan 21, 2024
1 parent ce2507f commit 4cb86fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Shape/Editor/Bake/Embree/SplitModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4cb86fb

Please sign in to comment.