diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 896300f0e0..72443b987c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -1749,6 +1749,7 @@ namespace OpenSim.Region.Framework.Scenes part.Scale, part.RotationOffset, part.PhysActor.IsPhysical); + part.PhysActor.SetMaterial((int)part.Material); part.PhysActor.LocalID = part.LocalId; part.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a109d68f9a..0297a3924c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -1608,6 +1608,7 @@ namespace OpenSim.Region.Framework.Scenes Scale, RotationOffset, RigidBody); + PhysActor.SetMaterial(Material); } catch { @@ -4432,6 +4433,7 @@ namespace OpenSim.Region.Framework.Scenes Scale, RotationOffset, UsePhysics); + PhysActor.SetMaterial(Material); pa = PhysActor; if (pa != null)