Make newly created prims be the correct group

This commit is contained in:
Melanie Thielker
2008-11-17 23:43:46 +00:00
parent ece27a3631
commit 2b8915d679
6 changed files with 11 additions and 10 deletions

View File

@@ -468,7 +468,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
m_log.Debug("[CONTENT MANAGEMENT]scale");
}
protected void UpdateNewParts(UUID ownerID, Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape,
protected void UpdateNewParts(UUID ownerID, UUID groupID, Vector3 RayEnd, Quaternion rot, PrimitiveBaseShape shape,
byte bypassRaycast, Vector3 RayStart, UUID RayTargetID,
byte RayEndIsIntersection)
{

View File

@@ -234,7 +234,7 @@ namespace OpenSim.Region.Environment.Modules.World.TreePopulator
position.Z = (float) m_scene.Heightmap[(int) position.X, (int) position.Y];
SceneObjectGroup tree =
m_scene.AddTree(uuid, new Vector3(0.1f, 0.1f, 0.1f),
m_scene.AddTree(uuid, UUID.Zero, new Vector3(0.1f, 0.1f, 0.1f),
Quaternion.Identity,
position,
Tree.Cypress1,