Skip to content

Commit 7ddb292

Browse files
committedJun 15, 2016
[Globe] Set home viewport to lon 0
1 parent 3fd27e0 commit 7ddb292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plugins/globe/globe_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ void GlobePlugin::run()
301301
osgEarth::Util::EarthManipulator* manip = new osgEarth::Util::EarthManipulator();
302302
mOsgViewer->setCameraManipulator( manip );
303303
osgEarth::Util::Viewpoint viewpoint;
304-
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), -90., 0., 0. );
304+
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), 0., 0., 0. );
305305
viewpoint.heading() = 0.;
306306
viewpoint.pitch() = -90.;
307307
viewpoint.range() = 2e7;

0 commit comments

Comments
 (0)
Please sign in to comment.