-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/161/
-----------------------------------------------------------
(Updated July 12, 2011, 11:15 a.m.)
Review request for Viewer.
Summary (updated)
-------
Current flow:
1) object->extractAttachmentItemID()
2) "same object reattached" condition evaluates true => removeObject calls
object->setAttachmentItemID(LLUUID::null)
3) the remainder of addObject() executes but the object's mAttachmentItemID is
now "LLUUID::null"
Reversing the order of (1) and (2) should prevent mAttachmentItemID from being
- in this specific case accidentally - cleared
This addresses bug STORM-1017.
http://jira.secondlife.com/browse/STORM-1017
Diffs
-----
indra/newview/llviewerjointattachment.cpp UNKNOWN
Diff: http://codereview.secondlife.com/r/161/diff
Testing
-------
I can't trigger that block for my avie's attachments "on demand" but I actually
made this change a while back (before SVC-6766) in response to reports from
users and this was the only possibility I could find in the viewer where an
attachment may suddenly "forget" its associated inventory item.
Thanks,
Kitty
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges