mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
change avatar animator on forced hover, needs more testing
This commit is contained in:
@@ -1263,12 +1263,9 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
break;
|
||||
|
||||
case PIDHoverType.GroundAndWater:
|
||||
if (terrainheight > m_parent_scene.WaterLevel)
|
||||
targetHoverHeight += terrainheight;
|
||||
else
|
||||
targetHoverHeight += m_parent_scene.WaterLevel;
|
||||
targetHoverHeight += terrainheight > m_parent_scene.WaterLevel ? terrainheight : m_parent_scene.WaterLevel;
|
||||
break;
|
||||
} // end switch (m_PIDHoverType)
|
||||
}
|
||||
|
||||
hoverPIDActive = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user