From 8b8e1b88ec9801eaff6f437bec19cefd78575d72 Mon Sep 17 00:00:00 2001 From: tglion Date: Fri, 4 Apr 2014 18:12:09 +0200 Subject: fixed object-collision issue after uncheck phantom-flag Signed-off-by: Michael Cerquoni --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 43fec35..31fc26e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -4227,6 +4227,8 @@ namespace OpenSim.Region.Framework.Scenes if (pa != null) { pa.SetMaterial(Material); + pa.Position = GetWorldPosition(); + pa.Orientation = GetWorldRotation(); DoPhysicsPropertyUpdate(UsePhysics, true); SubscribeForCollisionEvents(); -- cgit v1.1