diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-17 08:56:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-17 08:56:00 +0300 |
commit | b1d3097fa9fd1085304bc476d065a42f5c1d524a (patch) | |
tree | f536ef42f0ff850bc362ddeb42adc076987494e2 /source/blender/windowmanager/intern | |
parent | e52fd904e879b64ea924b17cecc1fb345955145f (diff) |
WM: update comment about window redraw for thumbnails
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 1819ed13be3..cbf492fc582 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1768,9 +1768,11 @@ static bool wm_file_write(bContext *C, /* Enforce full override check/generation on file save. */ BKE_lib_override_library_main_operations_create(bmain, true); - /* NOTE: Ideally we would call `WM_redraw_windows` here to remove any open menus. But we - * can crash if saving from a script, see T92704 & T97627. Just checking `!G.background - * && BLI_thread_is_main()` is not sufficient to fix this. */ + /* NOTE: Ideally we would call `WM_redraw_windows` here to remove any open menus. + * But we can crash if saving from a script, see T92704 & T97627. + * Just checking `!G.background && BLI_thread_is_main()` is not sufficient to fix this. + * Additionally some some EGL configurations don't support reading the front-buffer + * immediately after drawing, see: T98462. In that case off-screen drawing is necessary. */ /* don't forget not to return without! */ WM_cursor_wait(true); |