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 @@ -164,7 +164,6 @@ void LLViewerJointAttachment::setupDrawable(LLViewerObject *object)
164
164
// -----------------------------------------------------------------------------
165
165
bool LLViewerJointAttachment::addObject (LLViewerObject* object)
166
166
{
167
- object->extractAttachmentItemID ();
168
167
169
168
// Same object reattached
170
169
if (isObjectAttached (object))
@@ -175,6 +174,8 @@ bool LLViewerJointAttachment::addObject(LLViewerObject* object)
175
174
// re-connect object to the joint correctly
176
175
}
177
176
177
+ object->extractAttachmentItemID ();
178
+
178
179
// Two instances of the same inventory item attached --
179
180
// Request detach, and kill the object in the meantime.
180
181
if (getAttachedObject (object->getAttachmentItemID ()))
You can’t perform that action at this time.
0 commit comments