* 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. )

This commit is contained in:
Teravus Ovares
2008-03-25 17:28:09 +00:00
parent 2517fe7acd
commit e11e6dc308
2 changed files with 7 additions and 2 deletions

View File

@@ -1260,6 +1260,7 @@ namespace OpenSim.Region.Environment.Scenes
returnresult.distance = distance2;
returnresult.HitTF = true;
returnresult.ipoint = q;
m_log.Info("[FACE]:" + i.ToString());
//m_log.Info("[POINT]: " + q.ToString());
returnresult.normal = normals[i];