Merge branch 'blender-v2.90-release'

This commit is contained in:
2020-08-04 12:59:20 +02:00
2 changed files with 12 additions and 3 deletions

View File

@@ -400,7 +400,10 @@ bool ED_image_slot_cycle(struct Image *image, int direction)
}
}
if (i == num_slots) {
if (num_slots == 1) {
image->render_slot = 0;
}
else if (i == num_slots) {
image->render_slot = ((cur == 1) ? 0 : 1);
}