Add AVATAR_MALE flag to return values of llGetAgentInfo

avinationmerge
Melanie 2012-03-12 11:44:07 +01:00
parent 925295f3ab
commit 139c0665cf
2 changed files with 6 additions and 0 deletions

View File

@ -6069,6 +6069,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
flags |= ScriptBaseClass.AGENT_SITTING;
}
if (agent.Appearance.VisualParams[(int)AvatarAppearance.VPElement.SHAPE_MALE] > 0)
{
flags |= ScriptBaseClass.AGENT_MALE;
}
return flags;
}

View File

@ -94,6 +94,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const int AGENT_CROUCHING = 1024;
public const int AGENT_BUSY = 2048;
public const int AGENT_ALWAYS_RUN = 4096;
public const int AGENT_MALE = 8192;
//Particle Systems
public const int PSYS_PART_INTERP_COLOR_MASK = 1;