From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa, so

osgViewer behaves smarter, when the computer will reboot or shutdown. In
older versions the reboot/shutdown got cancelled by GraphicsWindowCocoa,
now it behaves more system conform.
"
This commit is contained in:
Robert Osfield 2010-08-08 15:45:25 +00:00
parent 534af3aeaf
commit 3daa56f2b9

View File

@ -206,7 +206,7 @@ static NSRect convertToQuartzCoordinates(const NSRect& rect)
{
s_quit_requested = true;
DEBUG_OUT("quit requested ");
return NSTerminateCancel;
return NSTerminateNow;
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification