aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/lljoint.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llcharacter/lljoint.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llcharacter/lljoint.cpp')
-rw-r--r--linden/indra/llcharacter/lljoint.cpp9
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