Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2019-09-06 01:13:24 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-09-06 01:13:24 +0300
commit4c4a8bf588c52e05f868a89938fa09e6f25ba1d8 (patch)
tree7e81d8d6949d5ca113d80ada34a56f5735b73955 /source/blender/windowmanager/intern/wm_files.c
parentfbf6898f583fe9982ca13366166a5505a94789ed (diff)
Fix T69498: Crash on export UV Layout
Ensure there's a drawable context after the file browser window is destroyed.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index c7f38a7f53b..2b89426f083 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1240,9 +1240,6 @@ static ImBuf *blend_file_thumb(const bContext *C,
/* gets scaled to BLEN_THUMB_SIZE */
Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C);
- /* Offscreen drawing requires a drawable window context. */
- wm_window_make_drawable(wm, CTX_wm_window(C));
-
if (scene->camera) {
ibuf = ED_view3d_draw_offscreen_imbuf_simple(depsgraph,
scene,