remove more merge artefacts

avinationmerge
UbitUmarov 2012-04-04 17:01:29 +01:00
parent 787cc0d076
commit 867d50d14c
1 changed files with 3 additions and 10 deletions

View File

@ -2186,18 +2186,11 @@ namespace OpenSim.Region.Framework.Scenes
if (ParentID != 0 && ParentID != LocalId) if (ParentID != 0 && ParentID != LocalId)
{ {
ParentGroup.Scene.AddPhysicalPrim(1); PhysicsActor parentPa = ParentGroup.RootPart.PhysActor;
pa.OnRequestTerseUpdate += PhysicsRequestingTerseUpdate; if (parentPa != null)
pa.OnOutOfBounds += PhysicsOutOfBounds;
if (ParentID != 0 && ParentID != LocalId)
{ {
PhysicsActor parentPa = ParentGroup.RootPart.PhysActor; pa.link(parentPa);
if (parentPa != null)
{
pa.link(parentPa);
}
} }
} }
} }