diff options
author | Teravus Ovares | 2008-03-25 17:31:40 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-25 17:31:40 +0000 |
commit | e74892ee44df1bffc084efca0c3565b3153d80e0 (patch) | |
tree | b68017644e462183cacd6fbb47f118694ec7cc67 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f... (diff) | |
download | opensim-SC_OLD-e74892ee44df1bffc084efca0c3565b3153d80e0.zip opensim-SC_OLD-e74892ee44df1bffc084efca0c3565b3153d80e0.tar.gz opensim-SC_OLD-e74892ee44df1bffc084efca0c3565b3153d80e0.tar.bz2 opensim-SC_OLD-e74892ee44df1bffc084efca0c3565b3153d80e0.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. )
( Remove ray caster Verbosity )
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 2a2c1a0..bc31e72 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1260,7 +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("[FACE]:" + i.ToString()); |
1264 | //m_log.Info("[POINT]: " + q.ToString()); | 1264 | //m_log.Info("[POINT]: " + q.ToString()); |
1265 | returnresult.normal = normals[i]; | 1265 | returnresult.normal = normals[i]; |
1266 | 1266 | ||