File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,6 @@ void LLViewerJointAttachment::setupDrawable(LLViewerObject *object)
168
168
// -----------------------------------------------------------------------------
169
169
bool LLViewerJointAttachment::addObject (LLViewerObject* object)
170
170
{
171
- object->extractAttachmentItemID ();
172
171
173
172
// Same object reattached
174
173
if (isObjectAttached (object))
@@ -179,6 +178,8 @@ bool LLViewerJointAttachment::addObject(LLViewerObject* object)
179
178
// re-connect object to the joint correctly
180
179
}
181
180
181
+ object->extractAttachmentItemID ();
182
+
182
183
// Two instances of the same inventory item attached --
183
184
// Request detach, and kill the object in the meantime.
184
185
if (getAttachedObject (object->getAttachmentItemID ()))
You can’t perform that action at this time.
0 commit comments