mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix crash triggered by an introduced assert.
This commit is contained in:
parent
ead84d2ba6
commit
34f6a99433
1 changed files with 2 additions and 2 deletions
|
|
@ -784,9 +784,9 @@ void IMB_float_from_rect_ex(struct ImBuf *dst,
|
|||
"Region to update should be clipped to the given buffers.");
|
||||
BLI_assert_msg(region_to_update->ymin >= 0,
|
||||
"Region to update should be clipped to the given buffers.");
|
||||
BLI_assert_msg(region_to_update->xmax < dst->x,
|
||||
BLI_assert_msg(region_to_update->xmax <= dst->x,
|
||||
"Region to update should be clipped to the given buffers.");
|
||||
BLI_assert_msg(region_to_update->ymax < dst->y,
|
||||
BLI_assert_msg(region_to_update->ymax <= dst->y,
|
||||
"Region to update should be clipped to the given buffers.");
|
||||
|
||||
float *rect_float = dst->rect_float;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue