Fix T44684 Compositor backdrop isn't updating correctly
This commit is contained in:
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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue