summaryrefslogtreecommitdiff
path: root/indra/llappearance/lldriverparam.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-01-25 11:13:59 -0800
committerRider Linden <rider@lindenlab.com>2017-01-25 11:13:59 -0800
commit25cd2ed2052b0d30d61e8b81df151993983f561b (patch)
tree7f9b29356b658303bdf7608a25ccb23c8e6130da /indra/llappearance/lldriverparam.cpp
parent8d86f5a0c457fceff5923fb7ca32259b2718addc (diff)
parent68413474c4479eee9bdbeb34ea131475ba1d646e (diff)
Merge
Diffstat (limited to 'indra/llappearance/lldriverparam.cpp')
-rw-r--r--indra/llappearance/lldriverparam.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llappearance/lldriverparam.cpp b/indra/llappearance/lldriverparam.cpp
index e630c1118b..e5e502b158 100644
--- a/indra/llappearance/lldriverparam.cpp
+++ b/indra/llappearance/lldriverparam.cpp
@@ -110,6 +110,14 @@ void LLDriverParamInfo::toStream(std::ostream &out)
out << std::endl;
+ // FIXME - this mDriverParam backlink makes no sense, because the
+ // LLDriverParamInfos are static objects - there's only one copy
+ // for each param type, so the backlink will just reference the
+ // corresponding param in the most recently created
+ // avatar. Apparently these toStream() methods are not currently
+ // used anywhere, so it's not an urgent problem.
+ LL_WARNS_ONCE() << "Invalid usage of mDriverParam." << LL_ENDL;
+
if(mDriverParam && mDriverParam->getAvatarAppearance()->isSelf() &&
mDriverParam->getAvatarAppearance()->isValid())
{