aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authortglion2014-04-04 18:12:09 +0200
committerMichael Cerquoni2014-04-04 12:29:44 -0400
commit8b8e1b88ec9801eaff6f437bec19cefd78575d72 (patch)
tree1841c459c64bbaf16f900a96ede799934ec69652
parentFix sp.AbsolutePosition when agent is sitting on a child prim, which in turns... (diff)
downloadopensim-SC_OLD-8b8e1b88ec9801eaff6f437bec19cefd78575d72.zip
opensim-SC_OLD-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.gz
opensim-SC_OLD-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.bz2
opensim-SC_OLD-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.xz
fixed object-collision issue after uncheck phantom-flag
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs2
1 files changed, 2 insertions, 0 deletions
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
4227 if (pa != null) 4227 if (pa != null)
4228 { 4228 {
4229 pa.SetMaterial(Material); 4229 pa.SetMaterial(Material);
4230 pa.Position = GetWorldPosition();
4231 pa.Orientation = GetWorldRotation();
4230 DoPhysicsPropertyUpdate(UsePhysics, true); 4232 DoPhysicsPropertyUpdate(UsePhysics, true);
4231 4233
4232 SubscribeForCollisionEvents(); 4234 SubscribeForCollisionEvents();