diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 2026c53..e9571aa 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1896,7 +1896,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1896 | } | 1896 | } |
1897 | } | 1897 | } |
1898 | 1898 | ||
1899 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(PhysActor); | 1899 | // If this part is a sculpt then delay the physics update until we've asynchronously loaded the |
1900 | // mesh data. | ||
1901 | if (((OpenMetaverse.SculptType)Shape.SculptType) == SculptType.Mesh) | ||
1902 | CheckSculptAndLoad(); | ||
1903 | else | ||
1904 | m_parentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(PhysActor); | ||
1900 | } | 1905 | } |
1901 | } | 1906 | } |
1902 | } | 1907 | } |