diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 1236e83..b61959d 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -1028,9 +1028,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1028 | // for now viwers do send fixed defaults | 1028 | // for now viwers do send fixed defaults |
1029 | // but this may change | 1029 | // but this may change |
1030 | // int physicsShapeType = inner_instance_list["physics_shape_type"].AsInteger(); | 1030 | // int physicsShapeType = inner_instance_list["physics_shape_type"].AsInteger(); |
1031 | byte physicsShapeType = (byte)PhysShapeType.prim; // default for mesh is simple convex | 1031 | byte physicsShapeType = (byte)PhysShapeType.convex; // default is simple convex |
1032 | if(hasmesh) | ||
1033 | physicsShapeType = (byte) PhysShapeType.convex; // default for mesh is simple convex | ||
1034 | // int material = inner_instance_list["material"].AsInteger(); | 1032 | // int material = inner_instance_list["material"].AsInteger(); |
1035 | byte material = (byte)Material.Wood; | 1033 | byte material = (byte)Material.Wood; |
1036 | 1034 | ||