* ODE Fixed annoying bug where resizing causes there to be a 'ghost' prim left that blocks your way.
parent
e9e72fe907
commit
43ea37b5a0
|
@ -1151,7 +1151,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
lock (OdeScene.OdeLock)
|
lock (OdeScene.OdeLock)
|
||||||
{
|
{
|
||||||
string oldname = _parent_scene.geom_name_map[prim_geom];
|
string oldname = _parent_scene.geom_name_map[prim_geom];
|
||||||
|
|
||||||
// Cleanup of old prim geometry
|
// Cleanup of old prim geometry
|
||||||
if (_mesh != null)
|
if (_mesh != null)
|
||||||
{
|
{
|
||||||
|
@ -1162,6 +1162,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
{
|
{
|
||||||
disableBody();
|
disableBody();
|
||||||
}
|
}
|
||||||
|
d.GeomDestroy(prim_geom);
|
||||||
// Construction of new prim
|
// Construction of new prim
|
||||||
if (this._parent_scene.needsMeshing(_pbs))
|
if (this._parent_scene.needsMeshing(_pbs))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue