Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-18 21:14:19 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-18 21:14:19 +0300
commita75e34a1df15113c5d777dddcd4b9943524e87b6 (patch)
tree018948a618682811d6c073e7fbd5aa5969561d57 /source/blender/imbuf
parent61707fba6cb2fca32faeef2a0101dcdc12b04035 (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.c2
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;