diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 2974058..df65af9 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -820,14 +820,11 @@ namespace OpenSim.Region.ClientStack.Linden | |||
820 | { | 820 | { |
821 | OSDMap object_data = new OSDMap(); | 821 | OSDMap object_data = new OSDMap(); |
822 | 822 | ||
823 | object_data["PhysicsShapeType"] = OSD.FromInteger(1); | 823 | object_data["PhysicsShapeType"] = obj.PhysicsShapeType; |
824 | if (false) // Check whether to include the rest | 824 | object_data["Density"] = obj.Density; |
825 | { | 825 | object_data["Friction"] = obj.Friction; |
826 | object_data["Density"] = OSD.FromReal(1); | 826 | object_data["Restitution"] = obj.Bounciness; |
827 | object_data["Friction"] = OSD.FromReal(1); | 827 | object_data["GravityMultiplier"] = obj.GravityModifier; |
828 | object_data["Restitution"] = OSD.FromReal(1); | ||
829 | object_data["GravityMultiplier"] = OSD.FromReal(1); | ||
830 | } | ||
831 | 828 | ||
832 | resp[uuid.ToString()] = object_data; | 829 | resp[uuid.ToString()] = object_data; |
833 | } | 830 | } |