aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorSean Dague2008-07-07 20:12:14 +0000
committerSean Dague2008-07-07 20:12:14 +0000
commit867d72c9569e672d99dc5f50aca6b1a4f2ddf906 (patch)
treec7eed9e29967623643fa63ddec600acc2948ebb4 /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parentremove build references to what I believe to be the very old MSSQL (diff)
downloadopensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.zip
opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.gz
opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.bz2
opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.xz
change SitTarget calls from functions to properties
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 22ca159..a0a76cf 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1096,8 +1096,8 @@ namespace OpenSim.Region.Environment.Scenes
1096 foreach (SceneObjectPart part in partArray) 1096 foreach (SceneObjectPart part in partArray)
1097 { 1097 {
1098 // Is a sit target available? 1098 // Is a sit target available?
1099 Vector3 avSitOffSet = part.GetSitTargetPosition(); 1099 Vector3 avSitOffSet = part.SitTargetPosition;
1100 Quaternion avSitOrientation = part.GetSitTargetOrientation(); 1100 Quaternion avSitOrientation = part.SitTargetOrientation;
1101 LLUUID avOnTargetAlready = part.GetAvatarOnSitTarget(); 1101 LLUUID avOnTargetAlready = part.GetAvatarOnSitTarget();
1102 1102
1103 bool SitTargetUnOccupied = (!(avOnTargetAlready != LLUUID.Zero)); 1103 bool SitTargetUnOccupied = (!(avOnTargetAlready != LLUUID.Zero));
@@ -1130,8 +1130,8 @@ namespace OpenSim.Region.Environment.Scenes
1130 // see http://wiki.secondlife.com/wiki/User:Andrew_Linden/Office_Hours/2007_11_06 for details on how LL does it 1130 // see http://wiki.secondlife.com/wiki/User:Andrew_Linden/Office_Hours/2007_11_06 for details on how LL does it
1131 1131
1132 // Is a sit target available? 1132 // Is a sit target available?
1133 Vector3 avSitOffSet = part.GetSitTargetPosition(); 1133 Vector3 avSitOffSet = part.SitTargetPosition;
1134 Quaternion avSitOrientation = part.GetSitTargetOrientation(); 1134 Quaternion avSitOrientation = part.SitTargetOrientation;
1135 LLUUID avOnTargetAlready = part.GetAvatarOnSitTarget(); 1135 LLUUID avOnTargetAlready = part.GetAvatarOnSitTarget();
1136 1136
1137 bool SitTargetUnOccupied = (!(avOnTargetAlready != LLUUID.Zero)); 1137 bool SitTargetUnOccupied = (!(avOnTargetAlready != LLUUID.Zero));
@@ -1222,8 +1222,8 @@ namespace OpenSim.Region.Environment.Scenes
1222 { 1222 {
1223 if (part.GetAvatarOnSitTarget() == UUID) 1223 if (part.GetAvatarOnSitTarget() == UUID)
1224 { 1224 {
1225 Vector3 sitTargetPos = part.GetSitTargetPosition(); 1225 Vector3 sitTargetPos = part.SitTargetPosition;
1226 Quaternion sitTargetOrient = part.GetSitTargetOrientation(); 1226 Quaternion sitTargetOrient = part.SitTargetOrientation;
1227 1227
1228 //Quaternion vq = new Quaternion(sitTargetPos.x, sitTargetPos.y+0.2f, sitTargetPos.z+0.2f, 0); 1228 //Quaternion vq = new Quaternion(sitTargetPos.x, sitTargetPos.y+0.2f, sitTargetPos.z+0.2f, 0);
1229 //Quaternion nq = new Quaternion(sitTargetOrient.w, -sitTargetOrient.x, -sitTargetOrient.y, -sitTargetOrient.z); 1229 //Quaternion nq = new Quaternion(sitTargetOrient.w, -sitTargetOrient.x, -sitTargetOrient.y, -sitTargetOrient.z);