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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-10 18:54:51 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-10 18:54:51 +0400
commit278179e0c07ac1bc615f77a6a91a51422efe4e4f (patch)
tree56e8c2dc6a305c32890120d14d72adbdb72ce34d /source/blender/nodes/composite/node_composite_util.c
parent545dc90a7f660709abdde90078b84f4ff5479f3c (diff)
Fix #29827: 2.61 Scale and translate bugs
Scale lead to crash because of incorrect check for buffer size. Translate bug was caused by ignoring buffer offset.
Diffstat (limited to 'source/blender/nodes/composite/node_composite_util.c')
-rw-r--r--source/blender/nodes/composite/node_composite_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.c b/source/blender/nodes/composite/node_composite_util.c
index c99cae7ed7b..45f490729e8 100644
--- a/source/blender/nodes/composite/node_composite_util.c
+++ b/source/blender/nodes/composite/node_composite_util.c
@@ -402,7 +402,7 @@ CompBuf *typecheck_compbuf(CompBuf *inbuf, int type)
return inbuf;
}
-static float *compbuf_get_pixel(CompBuf *cbuf, float *defcol, float *use, int x, int y, int xrad, int yrad)
+float *compbuf_get_pixel(CompBuf *cbuf, float *defcol, float *use, int x, int y, int xrad, int yrad)
{
if(cbuf) {
if(cbuf->rect_procedural) {