summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-12 23:12:36 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-12 23:13:36 +0200
commita5f06a1b8136f0cdfc520e94166de202f3925505 (patch)
treee11c723a4ad9f9fccada29dbd548d7e050344157 /indra/llprimitive/llmodel.cpp
parentcedbf23fd19cb8c155b7e18a922a6da3c317ca1a (diff)
SL-4488 Fixed ambiguity mapped weights to vertices in uploader
Were not displaying and uploading correctly.
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rw-r--r--indra/llprimitive/llmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index a2514f4e33..a4fd8b3c24 100644
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -834,7 +834,7 @@ LLSD LLModel::writeModel(
{
LLVector3 pos(face.mPositions[j].getF32ptr());
- weight_list& weights = high->getJointInfluences(pos);
+ weight_list& weights = model[idx]->getJointInfluences(pos);
S32 count = 0;
for (weight_list::iterator iter = weights.begin(); iter != weights.end(); ++iter)