aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-10-29 22:14:11 +0000
committerUbitUmarov2015-10-29 22:14:11 +0000
commitdd9b06e3b68919f9b093c7673427c4beeb1fb1ea (patch)
tree78ab2e37ee45b92894ffc7f9e67183f3b2cc090c /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentfix services handling of visualparameters, avoiding possible crashs (mantis 7... (diff)
downloadopensim-SC_OLD-dd9b06e3b68919f9b093c7673427c4beeb1fb1ea.zip
opensim-SC_OLD-dd9b06e3b68919f9b093c7673427c4beeb1fb1ea.tar.gz
opensim-SC_OLD-dd9b06e3b68919f9b093c7673427c4beeb1fb1ea.tar.bz2
opensim-SC_OLD-dd9b06e3b68919f9b093c7673427c4beeb1fb1ea.tar.xz
fix mantis 7733, reverting setting of IsAttachment on first call to full check. Replace instead same simple IsAttachment tests by full checks
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 25aa83f..d1c5f72 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1753,8 +1753,9 @@ namespace OpenSim.Region.Framework.Scenes
1753 } 1753 }
1754 else 1754 else
1755 { 1755 {
1756 if ((!isPhantom || isPhysical || _VolumeDetectActive) && !ParentGroup.IsAttachment 1756 if ((!isPhantom || isPhysical || _VolumeDetectActive)
1757 && !(Shape.PathCurve == (byte)Extrusion.Flexible)) 1757 && !ParentGroup.IsAttachmentCheckFull()
1758 && !(Shape.PathCurve == (byte)Extrusion.Flexible))
1758 { 1759 {
1759 AddToPhysics(isPhysical, isPhantom, isPhysical); 1760 AddToPhysics(isPhysical, isPhantom, isPhysical);
1760 } 1761 }
@@ -4241,7 +4242,7 @@ namespace OpenSim.Region.Framework.Scenes
4241 } 4242 }
4242 4243
4243 if (SetPhantom 4244 if (SetPhantom
4244 || ParentGroup.IsAttachment 4245 || ParentGroup.IsAttachmentCheckFull()
4245 || PhysicsShapeType == (byte)PhysShapeType.none 4246 || PhysicsShapeType == (byte)PhysShapeType.none
4246 || (Shape.PathCurve == (byte)Extrusion.Flexible)) // note: this may have been changed above in the case of joints 4247 || (Shape.PathCurve == (byte)Extrusion.Flexible)) // note: this may have been changed above in the case of joints
4247 { 4248 {