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:
Latif Khalifa
2011-05-24 00:58:42 +00:00
parent 9cd91f59b8
commit d471ecbbb6
6 changed files with 996 additions and 12 deletions

View File

@@ -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);