diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-20 20:46:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-20 20:46:06 +0300 |
commit | 475d536f720df3ed9bed783e6d108fa1341fe541 (patch) | |
tree | b0d4882422096ffd040d3b0fd30a100c841b29e2 /source/blender/editors/gpencil/gpencil_interpolate.c | |
parent | a97ec403c28dc330b37459b1c94944ffe086abbb (diff) |
Fix minor glitches in GP code.
Reported by coverity scan.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_interpolate.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_interpolate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_interpolate.c b/source/blender/editors/gpencil/gpencil_interpolate.c index 0d3fa1fc90c..297058168a0 100644 --- a/source/blender/editors/gpencil/gpencil_interpolate.c +++ b/source/blender/editors/gpencil/gpencil_interpolate.c @@ -735,7 +735,7 @@ static float gp_interpolate_seq_easing_calc(GP_Interpolate_Settings *ipo_setting } break; - case BEZT_IPO_CIRC: + case GP_IPO_CIRC: switch (easing) { case BEZT_IPO_EASE_IN: result = BLI_easing_circ_ease_in(time, begin, change, duration); @@ -753,7 +753,7 @@ static float gp_interpolate_seq_easing_calc(GP_Interpolate_Settings *ipo_setting } break; - case BEZT_IPO_CUBIC: + case GP_IPO_CUBIC: switch (easing) { case BEZT_IPO_EASE_IN: result = BLI_easing_cubic_ease_in(time, begin, change, duration); |