Closed youle31 closed 7 years ago
For the first bug, this: http://pasteall.org/382131/diff seems to avoid the crash. Indeed when replacing KX_Scene, the old was calling KX_Scene destructor and m_animatedlist->Release(); was called. Then I think the new scene was trying to add m_animatedlist->Add(gameobj); whereas m_animatedlist had already been removed... I'm not sure of the fix but it seems to avoid the crash
For the second bug, it seems related to new events system. It didn't worked in 0.1.5 neither in 0.1.6. The python script throws an exception and endgame when there is a problem. So I think we can accept this little backward compatibility issue and let the user adapt his event manager with new upbge system.
@youle31 : For the first bug can you try the branch ge_animation ?
@panzergame : It's ok :)
For the second report it's because the user us the raw value of the enum for key ESC (in game_input.py), previously it was 130 but with the new event system some of the unused enum where removed and the other shifted. I can restore the number, but in this case it will break the file using the same dirty method currently running in UPBGE...
Anyway this method is strongly deprecated.
ok. So feel free to close when you want.
BGMC 23: