* ODE Fixed annoying bug where resizing causes there to be a 'ghost' prim left that blocks your way.

afrisby
Teravus Ovares 2007-11-10 17:23:36 +00:00
parent e9e72fe907
commit 43ea37b5a0
1 changed files with 2 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ namespace OpenSim.Region.Physics.OdePlugin
lock (OdeScene.OdeLock)
{
string oldname = _parent_scene.geom_name_map[prim_geom];
// Cleanup of old prim geometry
if (_mesh != null)
{
@ -1162,6 +1162,7 @@ namespace OpenSim.Region.Physics.OdePlugin
{
disableBody();
}
d.GeomDestroy(prim_geom);
// Construction of new prim
if (this._parent_scene.needsMeshing(_pbs))
{