Adding an AppearanceManager fix from kinoc that sets all appearance params to default values before updating the params from decoded wearables. Fixes scrunched faces and other miscellaneous appearance oddities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2909 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -912,6 +912,7 @@ namespace OpenMetaverse
|
||||
if (vp.Group == 0)
|
||||
{
|
||||
set.VisualParam[vpIndex] = new AgentSetAppearancePacket.VisualParamBlock();
|
||||
set.VisualParam[vpIndex].ParamValue = Utils.FloatToByte(vp.DefaultValue, vp.MinValue, vp.MaxValue);
|
||||
|
||||
// Try and find this value in our collection of downloaded wearables
|
||||
foreach (WearableData data in Wearables.Dictionary.Values)
|
||||
|
||||
Reference in New Issue
Block a user