[opensource-dev] Open Development project: extendingavatarwearables

Kitty sldev at catznip.com
Thu Mar 25 12:51:40 PDT 2010


> Again, if any open source developer wants to look at the code 
> architecture and draw up a plan for how this can be done in a 
> reasonable amount of time, I'm all ears. My current ideas on 
> how to implement this would push us well out of the timeframe 
> that we were hoping to ship this set of features.

Could inventory links be used as a modifier for wearables rather than the
current pass-through?

I.e. an item on the shirt layer

User right-clicks and picks "Wear as undershirt" which generates an
inventory link in COF just as it does now, but with the lower two bytes of
its item flags set to WT_UNDERSHIRT.

The "onWearableArrived" would examine the inventory link to the wearable in
COF, note the discrepancy on what it's being passed and convert the
LLWearable to match the type specified in the link and everything else just
works more or less the way it does now?

It's not an ideal solution ("downgrading" jackets might get troublesome
since they have two textures) but would allow arbitrary reordering of
existing layers and since it's all handled by links "no modify" or "no copy"
on the original wouldn't even come into it.

Kitty



More information about the opensource-dev mailing list