Blender Git Commit Log

Git Commits -> Revision 42360e6

Revision 42360e6 by Jeroen Bakker (master)
January 21, 2020, 15:32 (GMT)
Fix T73233: Image Editor Color Picker Crash

When using the color picker on a image editor it tries to read the color
from the original image. When there is no original image the code
crashes during the determination of the UDIM tile number.

There are 2 approaches to solve this.
1. Modify `BKE_image_get_tile_from_pos` to support NULL pointers.
2. Modify `ED_space_image_color_sample` with an early exit.

This patch modifies `ED_space_image_color_sample` with an early exit.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6629

Commit Details:

Full Hash: 42360e64dab6d61877898669eb711bcdd8eed504
Parent Commit: 98a99cb
Lines Changed: +3, -0

1 Modified Path:

/source/blender/editors/space_image/image_ops.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021