Cleanup: quiet nonnull-compare warning for GCC
All callers ensure this is not NULL.
This commit is contained in:
parent
a217e56575
commit
cc1daa9b76
Notes:
blender-bot
2023-02-14 07:39:44 +01:00
Referenced by commit 4a11c0aabb
, Fix regression: crash with uv constrain to bounds without image
|
@ -917,7 +917,7 @@ int BKE_image_find_nearest_tile_with_offset(const Image *image,
|
|||
zero_v2(r_uv_offset);
|
||||
int tile_number_best = -1;
|
||||
|
||||
if (!image || image->source != IMA_SRC_TILED) {
|
||||
if (image->source != IMA_SRC_TILED) {
|
||||
return tile_number_best;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue