Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-02-14 12:33:56 +0300
committerJeroen Bakker <jeroen@blender.org>2022-02-14 12:33:56 +0300
commitab71d833c775dce9efa25398ad3079729d404951 (patch)
tree18c5d089bb17606f685abc4674f2c98a4a8cdaa8 /source/blender/editors/space_image
parentf0e32ef4ff34f8cf8ff85706fd863a858f5849b6 (diff)
Phase out IMA_GPU_REFRESH.
IMA_GPU_REFRESH is replaced by BKE_image_partial_update_mark_full_update and should not be used anymore.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_edit.c b/source/blender/editors/space_image/image_edit.c
index 470cff20718..d75dbd542a6 100644
--- a/source/blender/editors/space_image/image_edit.c
+++ b/source/blender/editors/space_image/image_edit.c
@@ -404,7 +404,7 @@ bool ED_image_slot_cycle(struct Image *image, int direction)
}
if ((cur != image->render_slot)) {
- image->gpuflag |= IMA_GPU_REFRESH;
+ BKE_image_partial_update_mark_full_update(image);
}
return (cur != image->render_slot);
}