mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
This commit is contained in:
@@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation
|
||||
}
|
||||
|
||||
SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape);
|
||||
SceneObjectPart rootPart = sceneObject.GetChildPart(sceneObject.UUID);
|
||||
SceneObjectPart rootPart = sceneObject.GetPart(sceneObject.UUID);
|
||||
|
||||
// if grass or tree, make phantom
|
||||
//rootPart.TrimPermissions();
|
||||
|
||||
Reference in New Issue
Block a user