aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-06 09:41:34 +0000
committerTeravus Ovares2008-03-06 09:41:34 +0000
commit0cb4e401ad9bed5b82d4ca438fa89ab2443337f8 (patch)
treeb7916d3c360ee5dc973865582640710b2d63b227
parent* Four more warnings, etc etc. (diff)
downloadopensim-SC_OLD-0cb4e401ad9bed5b82d4ca438fa89ab2443337f8.zip
opensim-SC_OLD-0cb4e401ad9bed5b82d4ca438fa89ab2443337f8.tar.gz
opensim-SC_OLD-0cb4e401ad9bed5b82d4ca438fa89ab2443337f8.tar.bz2
opensim-SC_OLD-0cb4e401ad9bed5b82d4ca438fa89ab2443337f8.tar.xz
* Killed 4 more warnings (at 16 now)
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();