Disable native cursor on Windows for now.
There's an unfortunate interaction with osgViewer on Windows that needs to be resolved, before the can switched on.
This commit is contained in:
parent
30fcfd219e
commit
b29470c129
1 changed files with 5 additions and 1 deletions
|
@ -165,8 +165,12 @@ FGMouseCursor* FGMouseCursor::instance()
|
||||||
gw->setCursor(osgViewer::GraphicsWindow::InheritCursor);
|
gw->setCursor(osgViewer::GraphicsWindow::InheritCursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Windows native curosr disabled while interaction with OSG
|
||||||
|
// is resolved - right now NCHITs (non-client-area hits)
|
||||||
|
// overwire the InheritCursor value above, and hence our cursor
|
||||||
|
// get stuck.
|
||||||
// and create our real implementation
|
// and create our real implementation
|
||||||
static_instance = new WindowsMouseCursor;
|
// static_instance = new WindowsMouseCursor;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// X11
|
// X11
|
||||||
|
|
Loading…
Reference in a new issue