[opensource-dev] Wearing multiple folders at once (was: Open Development project: extendingavatar wearables)

Kitty sldev at catznip.com
Mon Mar 29 08:40:16 PDT 2010




(*) When both folders contain attachments, you'll get a message "Cannot
complete attachments. An attachment is pending for that spot", even if they
have different attachment points, and only attachments from one folder are
actually attached.

Interestingly, when selecting just multiple attachments (without the
containing folders) and choosing "wear" from the context menu, you get the
same message and only one will be attached, again even if they have
different attachment points. Right-clicking a folder with several
attachments and choosing "Add To Outfit" works fine, though. (Are there JIRA
entries about these issues, yet?)

The first seems to be due to an apparant issue with
RezMultipleAttachmentsFromInv: rather than queue them up and process them
one at a time the second message *always* gets rejected with "Attachment
pending" etc if the first one hasn't finished attaching everything yet
(http://jira.secondlife.com/browse/SVC-5383 sort of partly relates).
 
RezSingleAttachmentFromInv (= "Wear") has the same issue (there it only
happens for conflicting attachment points oddly enough): "Cannot attach
multiple objects via wear" (http://jira.secondlife.com/browse/VWR-5063)
 
---
 
You can work around both in the viewer though: in LLFolderView::doToSelected
you "intercept" the actions "addtooutfit", "replaceoutfit" and "attach" and
then handle all selections at the same time instead of one after the other.
 
I can add "Add to/Replace Outfit" to the patch for 2.0 if you (or anyone)
want(s); I've just been waiting to see if LL won't fix it better because
putting LLXXXBridge specific logic into "doToSelected" probably isn't the
best possible way of fixing it viewerside :|.
 
Kitty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100329/7587bfb7/attachment.htm 


More information about the opensource-dev mailing list