openclonk/src
Armin Burgmeier e39a3a40f7 editor: delete viewport widgets immediately
I don't know why the viewports are deleted with deleteLater(), but it leads
to an OpenGL context getting deselected behind our back, and so we don't know
when is a good time to re-select it. This leads to termination of the engine
when selecting File->Close (Ctrl+W) in the editor, because the graphics
re-initialization fails with no GL context active.

Instead, just delete the viewport widget immediately, which works fine at
least on Linux. This is also recommended by the Qt documentation at
http://doc.qt.io/qt-5/qopenglwidget.html.
2016-10-02 22:34:51 -07:00
..
c4group Qt editor: Store and restore window layout (docked dialogues, etc.) 2016-08-08 23:57:24 -04:00
config Change default puncher address to netpuncher.openclonk.org 2016-09-09 18:31:39 +02:00
control Editor: Add "reset to saved scenario" command 2016-09-07 01:53:54 -04:00
editor editor: delete viewport widgets immediately 2016-10-02 22:34:51 -07:00
game GetPathLength: add optional depth parameter 2016-09-25 21:48:19 +02:00
graphics SDL: Use OpenGL 3.1 if 3.2 is not available (like WGL) 2016-09-17 12:32:18 +02:00
gui SDL: Fix wrong keyboad button labels 2016-08-20 23:16:31 +02:00
landscape Editor: Add "reset to saved scenario" command 2016-09-07 01:53:54 -04:00
lib Bring back and fix the netpuncher 2016-09-08 21:10:06 +02:00
mape Fix mape build 2016-06-22 01:47:45 -04:00
netio Replace rand() with SafeRandom() 2016-04-20 22:42:00 +02:00
netpuncher Bring back and fix the netpuncher 2016-09-08 21:10:06 +02:00
network Bring back and fix the netpuncher 2016-09-08 21:10:06 +02:00
object Add script function GetDefinitionGroupPath 2016-09-05 02:00:01 -04:00
platform Fix possible use of uninitialized variables 2016-09-27 21:52:55 -10:00
player Fix black editor screen due to GL object creation and removal in wrong context 2016-09-06 02:45:17 -04:00
res Qt Editor: Add sound property delegate 2016-07-27 22:35:11 -04:00
script Don't leak static proplists with cyclic references 2016-09-30 17:50:41 -10:00
zlib Fix possible double close when attempting to open uncompressed files 2012-02-05 20:00:47 +01:00
C4Globals.cpp Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Include.cpp Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Include.h Merge branch 'master' into qteditor 2016-08-13 23:42:59 -04:00
C4Prototypes.h Declare C4AulBCC as class instead of struct 2016-05-09 12:21:33 +02:00
C4Version.h.in Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00