diff options
| author | Rye <rye@alchemyviewer.org> | 2025-09-18 13:38:54 -0400 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-10-03 09:51:03 -0400 |
| commit | b277cc6a8fd2a48ed3ba6498734d9fae209d181e (patch) | |
| tree | 6dce0e1c9dea322e73cdcd310e33ded081e13a96 /indra/llprimitive/llmodel.cpp | |
| parent | 9a413357ad5bc5f5492ece90b2c9cc9dbe6087c8 (diff) | |
Initial VHACD based llconvexdecomposition
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
| -rw-r--r-- | indra/llprimitive/llmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 00ef79ce7f..8055bffd32 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -1296,10 +1296,10 @@ LLModel::weight_list& LLModel::getJointInfluences(const LLVector3& pos) } void LLModel::setConvexHullDecomposition( - const LLModel::convex_hull_decomposition& decomp) + const LLModel::convex_hull_decomposition& decomp, const std::vector<LLModel::PhysicsMesh>& decomp_mesh) { mPhysics.mHull = decomp; - mPhysics.mMesh.clear(); + mPhysics.mMesh = decomp_mesh; updateHullCenters(); } |
