From 0cb4e401ad9bed5b82d4ca438fa89ab2443337f8 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 6 Mar 2008 09:41:34 +0000 Subject: [PATCH] * Killed 4 more warnings (at 16 now) --- OpenSim/Region/Physics/Meshing/Extruder.cs | 2 ++ OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/Meshing/Extruder.cs b/OpenSim/Region/Physics/Meshing/Extruder.cs index 086261b870..a2c275c602 100644 --- a/OpenSim/Region/Physics/Meshing/Extruder.cs +++ b/OpenSim/Region/Physics/Meshing/Extruder.cs @@ -45,6 +45,8 @@ namespace OpenSim.Region.Physics.Meshing public Mesh Extrude(Mesh m) { + startParameter = float.MinValue; + stopParameter = float.MaxValue; // Currently only works for iSteps=1; Mesh result = new Mesh(); diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index fb40830e49..36b3828458 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs @@ -124,7 +124,7 @@ namespace OpenSim.Region.Physics.OdePlugin Quaternion rotation, IMesh mesh, PrimitiveBaseShape pbs, bool pisPhysical, CollisionLocker dode) { - + _target_velocity = new PhysicsVector(0, 0, 0); gc = GCHandle.Alloc(prim_geom, GCHandleType.Pinned); ode = dode; _velocity = new PhysicsVector();