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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-01 07:20:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-01 07:26:18 +0400
commit13ea967cce4032564cfbbfe3010b538486f36524 (patch)
treefff7d2eaddd8bc1b6034f76729bb34c12c555607 /source/blender/blenkernel/intern/seqeffects.c
parent315d85faa1b4f58a91041030dcac70085808c038 (diff)
Code cleanup: correct abs use and quiet warnings
Diffstat (limited to 'source/blender/blenkernel/intern/seqeffects.c')
-rw-r--r--source/blender/blenkernel/intern/seqeffects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/seqeffects.c b/source/blender/blenkernel/intern/seqeffects.c
index 0d05966dfa5..145b6954eb0 100644
--- a/source/blender/blenkernel/intern/seqeffects.c
+++ b/source/blender/blenkernel/intern/seqeffects.c
@@ -1501,8 +1501,8 @@ static float check_zone(WipeZone *wipezone, int x, int y, Sequence *seq, float f
pointdist = sqrt(temp1 * temp1 + temp1 * temp1);
temp2 = sqrt((halfx - x) * (halfx - x) + (halfy - y) * (halfy - y));
- if (temp2 > pointdist) output = in_band(hwidth, fabs(temp2 - pointdist), 0, 1);
- else output = in_band(hwidth, fabs(temp2 - pointdist), 1, 1);
+ if (temp2 > pointdist) output = in_band(hwidth, fabsf(temp2 - pointdist), 0, 1);
+ else output = in_band(hwidth, fabsf(temp2 - pointdist), 1, 1);
if (!wipe->forward) output = 1 - output;