summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-08 19:56:34 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-08 19:56:34 +0100
commit68621905004bd783386d37b2d5d4265494ec4c18 (patch)
treeeb7a1a7ed00a8e03795efb69d60cecb548bcc3fd /indra/llprimitive
parentf30d95ee5feaa3a20ec2f7091324d21179edbbba (diff)
SL-915 - face-level caching, bug fix
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/llmodel.cpp3
-rw-r--r--indra/llprimitive/llmodel.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index 18f45d3b20..2a55838a4b 100644
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -1392,7 +1392,8 @@ bool LLModel::loadDecomposition(LLSD& header, std::istream& is)
LLMeshSkinInfo::LLMeshSkinInfo():
mPelvisOffset(0.0),
mLockScaleIfJointPosition(false),
- mInvalidJointsScrubbed(false)
+ mInvalidJointsScrubbed(false),
+ mJointNumsInitialized(false)
{
}
diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h
index 53585d2e04..d7f006753f 100644
--- a/indra/llprimitive/llmodel.h
+++ b/indra/llprimitive/llmodel.h
@@ -56,6 +56,7 @@ public:
float mPelvisOffset;
bool mLockScaleIfJointPosition;
bool mInvalidJointsScrubbed;
+ bool mJointNumsInitialized;
};
class LLModel : public LLVolume