diff options
author | Teravus Ovares | 2007-11-10 17:23:36 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-10 17:23:36 +0000 |
commit | 43ea37b5a0094e15f6787a0f905d770c016d5bb1 (patch) | |
tree | bc99b27b048f42a0c9b3939fb75eb32c7a3e1172 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |
parent | * Added an internal throttle on ODE physics updates (diff) | |
download | opensim-SC-43ea37b5a0094e15f6787a0f905d770c016d5bb1.zip opensim-SC-43ea37b5a0094e15f6787a0f905d770c016d5bb1.tar.gz opensim-SC-43ea37b5a0094e15f6787a0f905d770c016d5bb1.tar.bz2 opensim-SC-43ea37b5a0094e15f6787a0f905d770c016d5bb1.tar.xz |
* ODE Fixed annoying bug where resizing causes there to be a 'ghost' prim left that blocks your way.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index decf93f..4e69175 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -1151,7 +1151,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1151 | lock (OdeScene.OdeLock) | 1151 | lock (OdeScene.OdeLock) |
1152 | { | 1152 | { |
1153 | string oldname = _parent_scene.geom_name_map[prim_geom]; | 1153 | string oldname = _parent_scene.geom_name_map[prim_geom]; |
1154 | 1154 | ||
1155 | // Cleanup of old prim geometry | 1155 | // Cleanup of old prim geometry |
1156 | if (_mesh != null) | 1156 | if (_mesh != null) |
1157 | { | 1157 | { |
@@ -1162,6 +1162,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1162 | { | 1162 | { |
1163 | disableBody(); | 1163 | disableBody(); |
1164 | } | 1164 | } |
1165 | d.GeomDestroy(prim_geom); | ||
1165 | // Construction of new prim | 1166 | // Construction of new prim |
1166 | if (this._parent_scene.needsMeshing(_pbs)) | 1167 | if (this._parent_scene.needsMeshing(_pbs)) |
1167 | { | 1168 | { |