diff options
author | tglion | 2014-04-04 18:12:09 +0200 |
---|---|---|
committer | Michael Cerquoni | 2014-04-04 12:29:44 -0400 |
commit | 8b8e1b88ec9801eaff6f437bec19cefd78575d72 (patch) | |
tree | 1841c459c64bbaf16f900a96ede799934ec69652 /OpenSim/Region/Framework | |
parent | Fix sp.AbsolutePosition when agent is sitting on a child prim, which in turns... (diff) | |
download | opensim-SC-8b8e1b88ec9801eaff6f437bec19cefd78575d72.zip opensim-SC-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.gz opensim-SC-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.bz2 opensim-SC-8b8e1b88ec9801eaff6f437bec19cefd78575d72.tar.xz |
fixed object-collision issue after uncheck phantom-flag
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
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(); |