lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Lua Editor crashes in GK_ASSERT(getMainWindow()); #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Compile GameKit with enabled Lua Editor and run AppLuaEditor.

gkMouse* gkWindowSystem::getMouse(void)            
{
    GK_ASSERT(getMainWindow());
    return getMainWindow()->getMouse();
}

Original issue reported on code.google.com by erwin.coumans on 17 Jul 2012 at 12:10

GoogleCodeExporter commented 9 years ago
What OS are you using? If win maybe this patch helps:
http://code.google.com/p/gamekit/issues/attachmentText?id=232&aid=2320008000&nam
e=gkWindow.cpp.patch&token=9dLNRUzXEU97DoCdEG2O8PorCdk%3A1342518798824

Original comment by thomas.t...@googlemail.com on 17 Jul 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Ok, I checked it and this patch indeed fixes the problem. But loading 
blend-files crashes for me...nevertheless I will commit this patch (as soon as 
I'm under Linux again)

Original comment by thomas.t...@googlemail.com on 17 Jul 2012 at 2:14

GoogleCodeExporter commented 9 years ago
Ok, I commited the patch and it should work now. 

http://code.google.com/p/gamekit/source/detail?r=1116

Original comment by thomas.t...@googlemail.com on 17 Jul 2012 at 4:14

GoogleCodeExporter commented 9 years ago

Original comment by thomas.t...@googlemail.com on 27 Oct 2012 at 12:35