diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-11-11 14:43:20 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-11-11 14:43:20 +0300 |
commit | b962253ed158e41dc30d852421abbfee23154f43 (patch) | |
tree | 29bb5bc80bb684ef5fd46799736c27d6278120f8 /source | |
parent | 19c44ae0870b12db5bd4a4e5d8a4c3dedbb22273 (diff) |
Fix T71474: Temporary image editor cancels to file editor after file operation
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/render/render_view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_view.c b/source/blender/editors/render/render_view.c index cbedb25ea64..2052128cb36 100644 --- a/source/blender/editors/render/render_view.c +++ b/source/blender/editors/render/render_view.c @@ -243,6 +243,11 @@ ScrArea *render_view_open(bContext *C, int mx, int my, ReportList *reports) } } + if ((sima->flag & SI_PREVSPACE) && sima->next) { + SpaceLink *old_sl = sima->next; + old_sl->link_flag |= SPACE_FLAG_TYPE_WAS_ACTIVE; + } + return sa; } |