Fix compile problems with osgGA under Windows.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <osgGA/GUIEventHandler>
|
||||
|
||||
using osgGA::CompositeGUIEventHandler;
|
||||
using namespace osgGA;
|
||||
|
||||
bool CompositeGUIEventHandler::handle(const GUIEventAdapter& ea,GUIActionAdapter& aa)
|
||||
{
|
||||
|
||||
@@ -19,8 +19,8 @@ bool KeySwitchCameraManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapt
|
||||
|
||||
KeyManipMap::iterator it=_manips.find(ea.getKey());
|
||||
if(it != _manips.end()){
|
||||
osg::notify(osg::INFO)<<"Switching to manipulator: "<<(*it).second.first<<endl;
|
||||
cout<<"***Switching to manipulator: "<<(*it).second.first<<endl;
|
||||
osg::notify(osg::INFO)<<"Switching to manipulator: "<<(*it).second.first<<std::endl;
|
||||
cout<<"***Switching to manipulator: "<<(*it).second.first<<std::endl;
|
||||
it->second.second->setNode(_current->getNode());
|
||||
it->second.second->setCamera(_current->getCamera());
|
||||
it->second.second->init(ea,aa);
|
||||
|
||||
Reference in New Issue
Block a user