Rez new prims ON the ground, not halfway buried. Mantis 33.

afrisby
Brian McBee 2007-11-25 17:53:16 +00:00
parent d263a044b1
commit 7720be5a39
1 changed files with 10 additions and 4 deletions

View File

@ -770,6 +770,12 @@ namespace OpenSim.Region.Environment.Scenes
//pos = new LLVector3(RezPoint.x, RezPoint.y, RezPoint.z);
}
else
{
// rez ON the ground, not IN the ground
pos.Z += 0.25F;
}
SceneObjectGroup sceneOb =
new SceneObjectGroup(this, m_regionHandle, ownerID, PrimIDAllocate(), pos, rot, shape);