diff options
Make sure the material is set on physical prims
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 896300f..72443b9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1749,6 +1749,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1749 | part.Scale, | 1749 | part.Scale, |
1750 | part.RotationOffset, | 1750 | part.RotationOffset, |
1751 | part.PhysActor.IsPhysical); | 1751 | part.PhysActor.IsPhysical); |
1752 | part.PhysActor.SetMaterial((int)part.Material); | ||
1752 | 1753 | ||
1753 | part.PhysActor.LocalID = part.LocalId; | 1754 | part.PhysActor.LocalID = part.LocalId; |
1754 | part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); | 1755 | part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); |