diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index d1bc351..cadb19f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1941,7 +1941,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1941 | { | 1941 | { |
1942 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); | 1942 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); |
1943 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work | 1943 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work |
1944 | if (found) | 1944 | if (!found) |
1945 | { | 1945 | { |
1946 | DetectedObject detobj = new DetectedObject(); | 1946 | DetectedObject detobj = new DetectedObject(); |
1947 | detobj.keyUUID = obj.UUID; | 1947 | detobj.keyUUID = obj.UUID; |
@@ -2077,7 +2077,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2077 | { | 2077 | { |
2078 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); | 2078 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); |
2079 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work | 2079 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work |
2080 | if (found) | 2080 | if (!found) |
2081 | { | 2081 | { |
2082 | DetectedObject detobj = new DetectedObject(); | 2082 | DetectedObject detobj = new DetectedObject(); |
2083 | detobj.keyUUID = obj.UUID; | 2083 | detobj.keyUUID = obj.UUID; |
@@ -2208,7 +2208,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2208 | { | 2208 | { |
2209 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); | 2209 | bool found = m_parentGroup.RootPart.CollisionFilter.TryGetValue(1,out data); |
2210 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work | 2210 | //If it is 1, it is to accept ONLY collisions from this object, so this other object will not work |
2211 | if (found) | 2211 | if (!found) |
2212 | { | 2212 | { |
2213 | DetectedObject detobj = new DetectedObject(); | 2213 | DetectedObject detobj = new DetectedObject(); |
2214 | detobj.keyUUID = obj.UUID; | 2214 | detobj.keyUUID = obj.UUID; |