diff options
author | Teravus Ovares | 2008-03-25 17:28:09 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-25 17:28:09 +0000 |
commit | e11e6dc308a01a1f76f755157e9e91027d172a52 (patch) | |
tree | a5c63165d614f79dc16e364b5c7c82803c901157 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | * Remove old CAPS http listeners when a client logs out from a scene (diff) | |
download | opensim-SC-e11e6dc308a01a1f76f755157e9e91027d172a52.zip opensim-SC-e11e6dc308a01a1f76f755157e9e91027d172a52.tar.gz opensim-SC-e11e6dc308a01a1f76f755157e9e91027d172a52.tar.bz2 opensim-SC-e11e6dc308a01a1f76f755157e9e91027d172a52.tar.xz |
* Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index acb2588..2a2c1a0 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1260,6 +1260,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1260 | returnresult.distance = distance2; | 1260 | returnresult.distance = distance2; |
1261 | returnresult.HitTF = true; | 1261 | returnresult.HitTF = true; |
1262 | returnresult.ipoint = q; | 1262 | returnresult.ipoint = q; |
1263 | m_log.Info("[FACE]:" + i.ToString()); | ||
1263 | //m_log.Info("[POINT]: " + q.ToString()); | 1264 | //m_log.Info("[POINT]: " + q.ToString()); |
1264 | returnresult.normal = normals[i]; | 1265 | returnresult.normal = normals[i]; |
1265 | 1266 | ||