From Jean-Sebastien Guay, "Currently, if a GraphicsWindowWin32 is created with traits->useCursor = false, it still shows the cursor. An app must call gw->useCursor(false) after having created the context as a workaround, but I think what we ask for in the traits should be honored... Attached is a simple fix for this.

I have no idea when this stopped working. It worked before in our 2.6.0-based apps but after the upgrade to 2.8.3 it doesn't anymore.
"
This commit is contained in:
Robert Osfield 2010-06-14 15:28:58 +00:00
parent e601bb9cc3
commit 205edcf297

View File

@ -1053,6 +1053,7 @@ GraphicsWindowWin32::GraphicsWindowWin32( osg::GraphicsContext::Traits* traits )
{
_traits = traits;
if (_traits->useCursor) setCursor(LeftArrowCursor);
else setCursor(NoCursor);
init();