LIBOMV-906: [PATCH] Support for avatar physics
Patch by Tim Hart (Modified slightly not to send physics params if no physical wearable is worn) git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3542 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -415,9 +415,9 @@ namespace GridAccountant
|
||||
|
||||
// AgentSetAppearance
|
||||
AgentSetAppearancePacket appearance = new AgentSetAppearancePacket();
|
||||
appearance.VisualParam = new AgentSetAppearancePacket.VisualParamBlock[218];
|
||||
appearance.VisualParam = new AgentSetAppearancePacket.VisualParamBlock[251];
|
||||
// Setup some random appearance values
|
||||
for (int i = 0; i < 218; i++)
|
||||
for (int i = 0; i < 251; i++)
|
||||
{
|
||||
appearance.VisualParam[i] = new AgentSetAppearancePacket.VisualParamBlock();
|
||||
appearance.VisualParam[i].ParamValue = (byte)rand.Next(255);
|
||||
|
||||
Reference in New Issue
Block a user