diff options
author | UbitUmarov | 2015-11-29 00:19:25 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-29 00:19:25 +0000 |
commit | ca026ac735e50ac4294b030db69b2cfcbc59c55b (patch) | |
tree | 2ea3358ea43cec622b2b1547c8aa36da79e66abf /OpenSim/Region/ClientStack | |
parent | let Bullet do collision sounds (RAdams plz fix the relative speed) (diff) | |
download | opensim-SC_OLD-ca026ac735e50ac4294b030db69b2cfcbc59c55b.zip opensim-SC_OLD-ca026ac735e50ac4294b030db69b2cfcbc59c55b.tar.gz opensim-SC_OLD-ca026ac735e50ac4294b030db69b2cfcbc59c55b.tar.bz2 opensim-SC_OLD-ca026ac735e50ac4294b030db69b2cfcbc59c55b.tar.xz |
fix the default shape type on upload, it is always convex
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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 | ||