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.h
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.h')
-rw-r--r--source/blender/nodes/composite/node_composite_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.h b/source/blender/nodes/composite/node_composite_util.h
index bb606f4202e..02487933849 100644
--- a/source/blender/nodes/composite/node_composite_util.h
+++ b/source/blender/nodes/composite/node_composite_util.h
@@ -133,6 +133,8 @@ void typecheck_compbuf_color(float *out, float *in, int outtype, int intype);
/* **************************************************** */
+float *compbuf_get_pixel(CompBuf *cbuf, float *defcol, float *use, int x, int y, int xrad, int yrad);
+
/* Pixel-to-Pixel operation, 1 Image in, 1 out */
void composit1_pixel_processor(bNode *node, CompBuf *out, CompBuf *src_buf, float *src_col,
void (*func)(bNode *, float *, float *),