diff options
-rw-r--r-- | source/blender/imbuf/intern/filter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c index a0434691807..7804ee1fdf1 100644 --- a/source/blender/imbuf/intern/filter.c +++ b/source/blender/imbuf/intern/filter.c @@ -211,6 +211,10 @@ void IMB_filterN(ImBuf *out, ImBuf *in) rowlen = in->x; + /* generate 32-bit version for float images if it is not already generated by other space */ + if (in->rect == NULL) + IMB_rect_from_float(in); + for (y = 0; y < in->y; y++) { /* setup rows */ row2 = (char *)(in->rect + y * rowlen); |