Made OSX default to using single threaded keyboard mouse.
This commit is contained in:
parent
ccafa6b125
commit
2ea6de3d0b
@ -25,6 +25,11 @@ using namespace Producer;
|
|||||||
using namespace osgProducer;
|
using namespace osgProducer;
|
||||||
using namespace osg;
|
using namespace osg;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define SINGLE_THREAD_KEYBOARDMOUSE
|
||||||
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Picking intersection visitor.
|
// Picking intersection visitor.
|
||||||
@ -604,8 +609,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//#define SINGLE_THREAD_KEYBOARDMOUSE
|
|
||||||
|
|
||||||
bool Viewer::realize()
|
bool Viewer::realize()
|
||||||
{
|
{
|
||||||
if (_realized) return _realized;
|
if (_realized) return _realized;
|
||||||
|
Loading…
Reference in New Issue
Block a user