Add AVATAR_MALE flag to return values of llGetAgentInfo
parent
925295f3ab
commit
139c0665cf
|
@ -6069,6 +6069,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
flags |= ScriptBaseClass.AGENT_SITTING;
|
flags |= ScriptBaseClass.AGENT_SITTING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (agent.Appearance.VisualParams[(int)AvatarAppearance.VPElement.SHAPE_MALE] > 0)
|
||||||
|
{
|
||||||
|
flags |= ScriptBaseClass.AGENT_MALE;
|
||||||
|
}
|
||||||
|
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
public const int AGENT_CROUCHING = 1024;
|
public const int AGENT_CROUCHING = 1024;
|
||||||
public const int AGENT_BUSY = 2048;
|
public const int AGENT_BUSY = 2048;
|
||||||
public const int AGENT_ALWAYS_RUN = 4096;
|
public const int AGENT_ALWAYS_RUN = 4096;
|
||||||
|
public const int AGENT_MALE = 8192;
|
||||||
|
|
||||||
//Particle Systems
|
//Particle Systems
|
||||||
public const int PSYS_PART_INTERP_COLOR_MASK = 1;
|
public const int PSYS_PART_INTERP_COLOR_MASK = 1;
|
||||||
|
|
Loading…
Reference in New Issue