* 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?
0.6.0-stable
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

@ -342,8 +342,6 @@ namespace OpenSim.Framework
/// <summary>
/// Returns the full name of the agent/avatar represented by this client
/// </summary>
/// <param name="newPack"></param>
/// <param name="packType"></param>
string Name { get; }
bool IsActive
@ -750,6 +748,7 @@ namespace OpenSim.Framework
void SendLogoutPacket();
ClientInfo GetClientInfo();
void SetClientInfo(ClientInfo info);
void SetClientOption(string option, string value);
string GetClientOption(string option);

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;