DarkRadiant: master 09a069d2

Author Committer Branch Timestamp Parent
greebo greebo master 02.01.2020 18:10 master 3c40334f
Affected Issues  0005094: Choose Skin dialog will crash in 2.7.0pre2
Changeset Fix 0005094 by preventing the ModelPreview::setModel/setSkin methods immediately propagating the setting to the scene, triggering GL calls in the background when potentially no GL context is present yet. With this change the model/skin changes are applied in the onPreRender() method which is always invoked with a current context.
mod - libs/wxutil/preview/ModelPreview.cpp Diff File
mod - libs/wxutil/preview/ModelPreview.h Diff File
mod - libs/wxutil/preview/RenderPreview.cpp Diff File