diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-14 13:00:30 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-14 13:00:30 +0300 |
commit | 48e2bf3638e1d96d8cbfbc74d29c347ccfcad576 (patch) | |
tree | d40cb6b120a2a0718f68199556760c4398461fd2 /source/blender/makesrna/intern | |
parent | efac4db166292229e4e2ab7afa6034d637893bd6 (diff) | |
parent | 1236d2aea8d55c7d98409fc76968bad297a53007 (diff) |
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 8adb9267769..e40fafd2069 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -594,7 +594,7 @@ static void rna_render_slots_active_set(PointerRNA *ptr, int index = BLI_findindex(&image->renderslots, slot); if (index != -1) { image->render_slot = index; - image->gpuflag |= IMA_GPU_REFRESH; + BKE_image_partial_update_mark_full_update(image); } } } @@ -610,7 +610,7 @@ static void rna_render_slots_active_index_set(PointerRNA *ptr, int value) Image *image = (Image *)ptr->owner_id; int num_slots = BLI_listbase_count(&image->renderslots); image->render_slot = value; - image->gpuflag |= IMA_GPU_REFRESH; + BKE_image_partial_update_mark_full_update(image); CLAMP(image->render_slot, 0, num_slots - 1); } |