diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index dd7628d..02098b7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1458,7 +1458,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1458 | SceneObjectPart rootpart = m_rootPart; | 1458 | SceneObjectPart rootpart = m_rootPart; |
1459 | if (rootpart != null) | 1459 | if (rootpart != null) |
1460 | { | 1460 | { |
1461 | rootpart.PhysActor.PIDActive = false; | 1461 | if (rootpart.PhysActor != null) |
1462 | { | ||
1463 | rootpart.PhysActor.PIDActive = false; | ||
1464 | } | ||
1462 | } | 1465 | } |
1463 | } | 1466 | } |
1464 | 1467 | ||