From a75e34a1df15113c5d777dddcd4b9943524e87b6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 18 Feb 2008 18:14:19 +0000 Subject: Fix for bug #7936: render baking selected to active now has a Bias value that is an offset along the normal when looking for the nearest face, which allows baking faces further away, e.g. an ID badge onto a shirt. Also fixes a bug baking to float images, for things other than displacement it didn't work sometimes, and a memory leak in the extend filter. --- source/blender/imbuf/intern/filter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c index 6c82a1e24a7..156e26fd5d6 100644 --- a/source/blender/imbuf/intern/filter.c +++ b/source/blender/imbuf/intern/filter.c @@ -299,6 +299,8 @@ void IMB_filter_extend(struct ImBuf *ibuf) } } } + + MEM_freeN(temprect); } else if(ibuf->rect) { int *temprect; -- cgit v1.2.3