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:
Diffstat (limited to 'release/plugins')
-rw-r--r--release/plugins/sequence/blur.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/plugins/sequence/blur.c b/release/plugins/sequence/blur.c
index 975a0c8df93..9687d04e066 100644
--- a/release/plugins/sequence/blur.c
+++ b/release/plugins/sequence/blur.c
@@ -115,7 +115,7 @@ void blurbuf(struct ImBuf *ibuf, int nr, Cast *cast)
}
if(tbuf->x<4 || tbuf->y<4) break;
}
-
+
/* enlarge */
for(i=0; i<nr; i++) {
ttbuf = double_x(tbuf);
@@ -137,6 +137,7 @@ void blurbuf(struct ImBuf *ibuf, int nr, Cast *cast)
if(cast->gamma != 1.0) gamwarp(tbuf, 1.0 / cast->gamma);
+ /* Very bad code warning! This fails badly with float-buffers!!! */
freeN(ibuf->rect);
ibuf->rect= tbuf->rect;
freeN(tbuf);