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 'source/blender/imbuf/intern/filter.c')
-rw-r--r--source/blender/imbuf/intern/filter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c
index 49e1a66886d..e6b95968498 100644
--- a/source/blender/imbuf/intern/filter.c
+++ b/source/blender/imbuf/intern/filter.c
@@ -446,9 +446,11 @@ void IMB_filter_extend(struct ImBuf *ibuf, char *mask, int filter)
#if 0
k = 0;
- for (i = -n; i <= n; i++)
- for (j = -n; j <= n; j++)
+ for (i = -n; i <= n; i++) {
+ for (j = -n; j <= n; j++) {
weight[k++] = sqrt((float)i * i + j * j);
+ }
+ }
#endif
weight[0] = 1;