couple of small fixes.
parent
da7fd71fa2
commit
8a2a6ad761
|
@ -238,14 +238,14 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
public SceneObjectGroup(Scene scene, ulong regionHandle, SceneObjectPart part)
|
public SceneObjectGroup(Scene scene, ulong regionHandle, SceneObjectPart part)
|
||||||
{
|
{
|
||||||
m_scene = scene;
|
m_scene = scene;
|
||||||
m_regionHandle = regionHandle;
|
|
||||||
|
|
||||||
part.SetParent(this);
|
part.SetParent(this);
|
||||||
part.ParentID = 0;
|
part.ParentID = 0;
|
||||||
|
|
||||||
m_parts.Add(part.UUID, part);
|
m_parts.Add(part.UUID, part);
|
||||||
SetPartAsRoot(part);
|
SetPartAsRoot(part);
|
||||||
|
|
||||||
|
RegionHandle = regionHandle;
|
||||||
|
|
||||||
AttachToBackup();
|
AttachToBackup();
|
||||||
|
|
||||||
ApplyPhysics();
|
ApplyPhysics();
|
||||||
|
|
Loading…
Reference in New Issue