diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 21:14:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-18 21:14:19 +0300 |
commit | a75e34a1df15113c5d777dddcd4b9943524e87b6 (patch) | |
tree | 018948a618682811d6c073e7fbd5aa5969561d57 /source/blender/imbuf | |
parent | 61707fba6cb2fca32faeef2a0101dcdc12b04035 (diff) |
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.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |