mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this is already its default value as it's a struct.
This commit is contained in:
@@ -642,7 +642,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
public SceneObjectGroup()
|
||||
{
|
||||
RezzingObjectID = UUID.Zero;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -650,7 +649,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// The original SceneObjectPart will be used rather than a copy, preserving
|
||||
/// its existing localID and UUID.
|
||||
/// </summary>
|
||||
public SceneObjectGroup(SceneObjectPart part) : this()
|
||||
/// <param name='part'>Root part for this scene object.</param>
|
||||
public SceneObjectGroup(SceneObjectPart part)
|
||||
{
|
||||
SetRootPart(part);
|
||||
}
|
||||
@@ -658,7 +658,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <summary>
|
||||
/// Constructor. This object is added to the scene later via AttachToScene()
|
||||
/// </summary>
|
||||
public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape) :this(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero))
|
||||
public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape)
|
||||
:this(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user