diff --git a/src/ui/map3D/GCManipulator.cc b/src/ui/map3D/GCManipulator.cc index 6f2fb0e..05c9b24 100644 --- a/src/ui/map3D/GCManipulator.cc +++ b/src/ui/map3D/GCManipulator.cc @@ -254,10 +254,10 @@ GCManipulator::calcMovement(void) if (buttonMask == GUIEventAdapter::LEFT_MOUSE_BUTTON) { // rotate camera -#ifdef __APPLE__ - osg::Vec3d axis; -#else +#ifdef __WIN32__ osg::Vec3 axis; +#else + osg::Vec3d axis; #endif float angle; diff --git a/src/ui/map3D/QMap3D.cc b/src/ui/map3D/QMap3D.cc index ab4c98b..83ff901 100644 --- a/src/ui/map3D/QMap3D.cc +++ b/src/ui/map3D/QMap3D.cc @@ -39,7 +39,7 @@ QMap3D::QMap3D(QWidget * parent, const char * name, WindowFlags f) : QWidget(parent,f) { setupUi(this); - graphicsView->setCameraManipulator(new osgEarthUtil::EarthManipulator); + graphicsView->setCameraManipulator(new osgEarth::Util::EarthManipulator); graphicsView->setSceneData(new osg::Group); graphicsView->updateCamera(); show();