diff options
author | Teravus Ovares | 2007-11-06 17:19:10 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-06 17:19:10 +0000 |
commit | 919118f0ef67d188753ac551414951ed653e814b (patch) | |
tree | 8074baf183af7ec278914eb1e938822dd139730c /OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs | |
parent | * Added better logging to AssetCache (diff) | |
download | opensim-SC-919118f0ef67d188753ac551414951ed653e814b.zip opensim-SC-919118f0ef67d188753ac551414951ed653e814b.tar.gz opensim-SC-919118f0ef67d188753ac551414951ed653e814b.tar.bz2 opensim-SC-919118f0ef67d188753ac551414951ed653e814b.tar.xz |
* fix for Bug 563
* fix for ODE geoms not getting disposed of properly when resizing.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs index 2a304cb..37fbb8a 100644 --- a/OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/OdePlugin/Meshing/Meshmerizer.cs | |||
@@ -361,7 +361,11 @@ namespace OpenSim.Region.Physics.OdePlugin.Meshing | |||
361 | CalcNormals(mesh); | 361 | CalcNormals(mesh); |
362 | break; | 362 | break; |
363 | default: | 363 | default: |
364 | mesh = null; | 364 | mesh = CreateBoxMesh(primName, primShape, size); |
365 | CalcNormals(mesh); | ||
366 | //Set default mesh to cube otherwise it'll return | ||
367 | // null and crash on the 'setMesh' method in the physics plugins. | ||
368 | //mesh = null; | ||
365 | break; | 369 | break; |
366 | } | 370 | } |
367 | 371 | ||