Merge branch 'next' of gitorious.org:fg/flightgear into next
This commit is contained in:
commit
a18dc00f4a
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ FGScenery::get_elevation_m(const SGGeod& geod, double& alt,
|
|||
return false;
|
||||
|
||||
geodEnd = SGGeod::fromCart(intersectVisitor.getLineSegment().getEnd());
|
||||
alt = geod.getElevationM();
|
||||
alt = geodEnd.getElevationM();
|
||||
if (material)
|
||||
*material = intersectVisitor.getMaterial();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue