Fix T71474: Temporary image editor cancels to file editor after file operation

This commit is contained in:
Julian Eisel 2019-11-11 12:43:20 +01:00
parent 19c44ae087
commit b962253ed1
Notes: blender-bot 2023-02-14 08:38:14 +01:00
Referenced by issue #71474, 2.82. Fullscreen filebrowser don't goes away
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}