aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/Extruder.cs2
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Extruder.cs b/OpenSim/Region/Physics/Meshing/Extruder.cs
index 086261b..a2c275c 100644
--- a/OpenSim/Region/Physics/Meshing/Extruder.cs
+++ b/OpenSim/Region/Physics/Meshing/Extruder.cs
@@ -45,6 +45,8 @@ namespace OpenSim.Region.Physics.Meshing
45 45
46 public Mesh Extrude(Mesh m) 46 public Mesh Extrude(Mesh m)
47 { 47 {
48 startParameter = float.MinValue;
49 stopParameter = float.MaxValue;
48 // Currently only works for iSteps=1; 50 // Currently only works for iSteps=1;
49 Mesh result = new Mesh(); 51 Mesh result = new Mesh();
50 52
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index fb40830..36b3828 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Physics.OdePlugin
124 Quaternion rotation, IMesh mesh, PrimitiveBaseShape pbs, bool pisPhysical, CollisionLocker dode) 124 Quaternion rotation, IMesh mesh, PrimitiveBaseShape pbs, bool pisPhysical, CollisionLocker dode)
125 { 125 {
126 126
127 127 _target_velocity = new PhysicsVector(0, 0, 0);
128 gc = GCHandle.Alloc(prim_geom, GCHandleType.Pinned); 128 gc = GCHandle.Alloc(prim_geom, GCHandleType.Pinned);
129 ode = dode; 129 ode = dode;
130 _velocity = new PhysicsVector(); 130 _velocity = new PhysicsVector();