Fix T44684 Compositor backdrop isn't updating correctly

This commit is contained in:
Dalai Felinto 2015-05-12 18:18:57 -03:00
parent e4cd4c383f
commit 3e519860e5
Notes: blender-bot 2023-02-14 09:08:30 +01:00
Referenced by issue #44684, Compositor backdrop isn't updating correctly
1 changed files with 4 additions and 1 deletions

View File

@ -2398,6 +2398,7 @@ static void image_viewer_create_views(const RenderData *rd, Image *ima)
void BKE_image_verify_viewer_views(const RenderData *rd, Image *ima, ImageUser *iuser)
{
bool do_reset;
const bool is_multiview = (rd->scemode & R_MULTIVIEW) != 0;
BLI_lock_thread(LOCK_DRAW_IMAGE);
@ -2413,7 +2414,9 @@ void BKE_image_verify_viewer_views(const RenderData *rd, Image *ima, ImageUser *
/* see if all scene render views are in the image view list */
do_reset = (BKE_scene_multiview_num_views_get(rd) != BLI_listbase_count(&ima->views));
if (!do_reset) {
/* multiview also needs to be sure all the views are synced */
if (is_multiview && !do_reset) {
SceneRenderView *srv;
ImageView *iv;