diff options
Diffstat (limited to 'linden/indra/llcharacter/lljoint.cpp')
-rw-r--r-- | linden/indra/llcharacter/lljoint.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/linden/indra/llcharacter/lljoint.cpp b/linden/indra/llcharacter/lljoint.cpp index b7a51f1..4611f52 100644 --- a/linden/indra/llcharacter/lljoint.cpp +++ b/linden/indra/llcharacter/lljoint.cpp | |||
@@ -189,11 +189,12 @@ void LLJoint::removeChild(LLJoint* joint) | |||
189 | child_list_t::iterator iter = std::find(mChildren.begin(), mChildren.end(), joint); | 189 | child_list_t::iterator iter = std::find(mChildren.begin(), mChildren.end(), joint); |
190 | if (iter != mChildren.end()) | 190 | if (iter != mChildren.end()) |
191 | { | 191 | { |
192 | this->mChildren.erase(iter); | 192 | mChildren.erase(iter); |
193 | |||
194 | joint->mXform.setParent(NULL); | ||
195 | joint->mParent = NULL; | ||
196 | joint->touch(); | ||
193 | } | 197 | } |
194 | joint->mXform.setParent(NULL); | ||
195 | joint->mParent = NULL; | ||
196 | joint->touch(); | ||
197 | } | 198 | } |
198 | 199 | ||
199 | 200 | ||