forked from bartvdbraak/blender
Display buffer should be marked as invalid when setting pixels from python
This commit is contained in:
parent
0c1b6ac3b3
commit
2f82e7f808
@ -366,7 +366,7 @@ static void rna_Image_pixels_set(PointerRNA *ptr, const float *values)
|
||||
((unsigned char *)ibuf->rect)[i] = FTOCHAR(values[i]);
|
||||
}
|
||||
|
||||
ibuf->userflags |= IB_BITMAPDIRTY;
|
||||
ibuf->userflags |= IB_BITMAPDIRTY | IB_DISPLAY_BUFFER_INVALID;
|
||||
}
|
||||
|
||||
BKE_image_release_ibuf(ima, lock);
|
||||
|
Loading…
Reference in New Issue
Block a user