[sldev] Worn Items/Objects

alexander treptow alexander.treptow at zweitgeist.com
Wed Jan 9 00:38:39 PST 2008


>> I mean rendering "only" the worn objects of "my" avatar. no other 
>> objects of any other avatar.
>
> When you say "worn" you could mean either the textures applied to the 
> mesh to simulate clothes or the avatar attachments.  They're treated 
> differently.
>
Sorry, i ment the avatar attachments, objects like a cap, special hair 
or a torch for example.


> Look in indra/newview/llvoavatar.cpp at the idleUpdate().  My first 
> guess would be
>
> if (!mIsSelf)
>    return TRUE;
>
> near the beginning, but I haven't actually tried it.  The code you 
> need should be in that function anyway.
I dont know if that works i've done the same in a displaying function. 
but thanks for that ;)

greets,
Alex



More information about the SLDev mailing list