aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
authorMelanie2012-03-12 11:44:07 +0100
committerMelanie2012-03-12 11:44:07 +0100
commit139c0665cfdb5d0d2085609b7570914ec271124a (patch)
tree824eafd1851c0076274bf9ebeca658e0d9c788ca /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
parentubitOde also knows a bit more about physical phantom (diff)
downloadopensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.zip
opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.gz
opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.bz2
opensim-SC-139c0665cfdb5d0d2085609b7570914ec271124a.tar.xz
Add AVATAR_MALE flag to return values of llGetAgentInfo
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index e2d17a7..958527a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6069,6 +6069,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6069 flags |= ScriptBaseClass.AGENT_SITTING; 6069 flags |= ScriptBaseClass.AGENT_SITTING;
6070 } 6070 }
6071 6071
6072 if (agent.Appearance.VisualParams[(int)AvatarAppearance.VPElement.SHAPE_MALE] > 0)
6073 {
6074 flags |= ScriptBaseClass.AGENT_MALE;
6075 }
6076
6072 return flags; 6077 return flags;
6073 } 6078 }
6074 6079