aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorTeravus Ovares2009-04-20 03:07:53 +0000
committerTeravus Ovares2009-04-20 03:07:53 +0000
commit21d44230305903d4702fb1809a43611d2ef60a2a (patch)
tree6b1bf5c34f6285b2018468daf7570414fba8ba28 /OpenSim/Region/Framework
parentturn back on fail on error, otherwise we don't end up knowing that we (diff)
downloadopensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.zip
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.gz
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.bz2
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.xz
* Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
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