Fix for incorrect subpixel precision of marker when using track offset
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Mar 2013 18:30:48 +0000 (18:30 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Mar 2013 18:30:48 +0000 (18:30 +0000)
commit495aa863aeb54886a7f5ddc5c2716828fac53856
tree1448cb3497d6601dad4bd642ed29a859a5c98d04
parentd1d01ed5220e1b768f829319698b8842aa19bf56
Fix for incorrect subpixel precision of marker when using track offset

Issue was caused by the way how pattern sampling happens in case of
anchored display: track offset is applying on search buffer which
means offset is rounding to an integer. Fractional pat of offset was
completely ignoring which lead to jumps in pattern buffer.

This was only a visualization issue in track preview widget.
source/blender/blenkernel/BKE_tracking.h
source/blender/blenkernel/intern/tracking.c
source/blender/editors/interface/interface_draw.c