diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-05-25 09:50:15 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-05-25 09:50:15 +0300 |
commit | 8f0612b7813fb49c097f24f7acb9141c0d758908 (patch) | |
tree | 97a49ac048a30598683482ae1c4312452ec1c2c0 /source/blender/blenkernel | |
parent | 1ec01b21426178afe8bc0850faa654d9213528be (diff) | |
parent | 08324ba2c1cd6427466e8f08a2b0b476ff9b32f6 (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_image_partial_update.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_image_partial_update.hh b/source/blender/blenkernel/BKE_image_partial_update.hh index 393bf003caa..6611efe7a61 100644 --- a/source/blender/blenkernel/BKE_image_partial_update.hh +++ b/source/blender/blenkernel/BKE_image_partial_update.hh @@ -172,6 +172,11 @@ class ImageTileData : AbstractTileData { if (image_user != nullptr) { this->image_user = *image_user; } + else { + /* When no image user is given the lastframe of the image should be used. This reflect the + * same logic when using a stencil image in the clone tool. */ + this->image_user.framenr = image->lastframe; + } } void init_data(TileNumber new_tile_number) override |