* Fixed minor issue while building: If you do a raytraced object placement and a target isn't found, the object is rezzed at 0,0,0 - instead now it will place according to the position sent by the client.

* We may instead want to abort and send a "Cannot Rez Here" message?
This commit is contained in:
Adam Frisby
2008-09-30 14:42:25 +00:00
parent f00b24ff9e
commit d4c1751285
2 changed files with 5 additions and 2 deletions

View File

@@ -1608,6 +1608,10 @@ namespace OpenSim.Region.Environment.Scenes
if (ei.HitTF)
{
pos = new Vector3(ei.ipoint.X, ei.ipoint.Y, ei.ipoint.Z);
} else
{
// fall back to our stupid functionality
pos = RayEnd;
}
return pos;