Fix compile problems with osgGA under Windows.

This commit is contained in:
Robert Osfield
2002-05-09 19:02:35 +00:00
parent d140decb44
commit d6ff23d32f
3 changed files with 5 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#include <osgGA/GUIEventHandler>
using osgGA::CompositeGUIEventHandler;
using namespace osgGA;
bool CompositeGUIEventHandler::handle(const GUIEventAdapter& ea,GUIActionAdapter& aa)
{

View File

@@ -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);