diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index 4780cdd..7b7677b 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs | |||
@@ -210,7 +210,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
210 | { | 210 | { |
211 | PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor; | 211 | PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor; |
212 | if (physActor == null || !physActor.IsPhysical) | 212 | if (physActor == null || !physActor.IsPhysical) |
213 | priority+=100; | 213 | priority += 100; |
214 | |||
215 | if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment) | ||
216 | priority = 1.0; | ||
214 | } | 217 | } |
215 | return priority; | 218 | return priority; |
216 | } | 219 | } |