ubOde revert making vehicle hover height disable hover. This at least breaks current scripts. wikis say it should, but makes no sense with vehicle type parameters defaults. Hover it again only disabled with timescale >300; handle llSameGroup on attachments

This commit is contained in:
UbitUmarov
2016-08-06 05:21:15 +01:00
parent 17cc238b44
commit f7419ad52d
2 changed files with 20 additions and 16 deletions

View File

@@ -828,7 +828,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
}
// hover
if (m_VhoverTimescale < 300 && m_VhoverHeight >0 && rootPrim.prim_geom != IntPtr.Zero)
if (m_VhoverTimescale < 300 && rootPrim.prim_geom != IntPtr.Zero)
{
// d.Vector3 pos = d.BodyGetPosition(Body);
d.Vector3 pos = d.GeomGetPosition(rootPrim.prim_geom);