diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 1a5dd6d..f5ae94f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -421,7 +421,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
421 | public byte Material | 421 | public byte Material |
422 | { | 422 | { |
423 | get { return (byte) m_material; } | 423 | get { return (byte) m_material; } |
424 | set { m_material = (Material)value; } | 424 | set |
425 | { | ||
426 | m_material = (Material)value; | ||
427 | if (PhysActor != null) | ||
428 | { | ||
429 | PhysActor.SetMaterial((int)value); | ||
430 | } | ||
431 | } | ||
425 | } | 432 | } |
426 | 433 | ||
427 | public ulong RegionHandle | 434 | public ulong RegionHandle |