BGE: Fix T50098: Crash when useding ImageMirror

The crash was caused by a missing m_sync initialisation in the second
ImageRender constructor.
This commit is contained in:
Thomas Szepe 2016-12-14 20:07:51 +01:00
parent 84a283d18c
commit 741c4082d8
Notes: blender-bot 2023-04-14 09:18:04 +02:00
Referenced by issue #50098, Mirror.py Crashes Blender
1 changed files with 1 additions and 0 deletions

View File

@ -734,6 +734,7 @@ ImageRender::ImageRender (KX_Scene *scene, KX_GameObject *observer, KX_GameObjec
m_done(false),
m_scene(scene),
m_offscreen(NULL),
m_sync(NULL),
m_observer(observer),
m_mirror(mirror),
m_clip(100.f)