Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this is already its default value as it's a struct.
parent
cd9fd77e2c
commit
08ec18f8a3
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue