Fix T66941: GPencil wrong interpolation calculation for last keyframe
authorAntonioya <blendergit@gmail.com>
Mon, 15 Jul 2019 14:56:32 +0000 (16:56 +0200)
committerAntonioya <blendergit@gmail.com>
Mon, 15 Jul 2019 14:56:54 +0000 (16:56 +0200)
commit69aa5bba4f0ccd9e95ce2eb811e0f7089fbb5574
tree10c91f6fce4584a87996cc3d12ecdca861f69241
parent8a5a8282ce48704e60e70cb02d747aede71e70b8
Fix T66941: GPencil wrong interpolation calculation for last keyframe

The range used for frames was wrong and the last keyframe was way off of the correct place.

Thanks to @MagnumOctopus for catching the bug.
source/blender/editors/gpencil/gpencil_interpolate.c