summaryrefslogtreecommitdiff
path: root/indra/llappearance/lldriverparam.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-08-14 09:15:17 -0700
committerGraham Linden <graham@lindenlab.com>2019-08-14 09:15:17 -0700
commit886fe3eefc8688df206e7b397a6b9438c7492f5f (patch)
tree1851859f1fb2498bcd89a080d53620e77b9dc68f /indra/llappearance/lldriverparam.cpp
parent7a64e8f8bfeff17d6a5385a6c39f1056214cb59f (diff)
parent2207dc0e610c1bf18f04620bc216e0da71762237 (diff)
Merge
Diffstat (limited to 'indra/llappearance/lldriverparam.cpp')
-rw-r--r--indra/llappearance/lldriverparam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/lldriverparam.cpp b/indra/llappearance/lldriverparam.cpp
index e5e502b158..05d26fbe7a 100644
--- a/indra/llappearance/lldriverparam.cpp
+++ b/indra/llappearance/lldriverparam.cpp
@@ -614,7 +614,7 @@ void LLDriverParam::setDrivenWeight(LLDrivenEntry *driven, F32 driven_weight)
mAvatarAppearance->isValid() &&
driven->mParam->getCrossWearable())
{
- LLWearable* wearable = dynamic_cast<LLWearable*> (mWearablep);
+ LLWearable* wearable = mWearablep;
if (mAvatarAppearance->getWearableData()->isOnTop(wearable))
{
use_self = true;