Move search area form track to marker structure
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 21 May 2012 09:19:08 +0000 (09:19 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 21 May 2012 09:19:08 +0000 (09:19 +0000)
commit130e7ab6f43a8e358ab7e4d85402f2d6af4b623a
tree2e6d713cd925fb1c3347c79fd2592b23530f6ac8
parentca446f090bb1347e4855cf941166340d2f024668
Move search area form track to marker structure

This allows different markers has different size of search area which
makes it possible to scale search area when doing planar tracking.

Made changes to all related areas such as transformation, tracking,
finally ported marker clamping function, added python bindings for
changed search area and added python API for pattern corners.

TODO: It's still possible to make marker's center go outside of pattern
      corners when translating pattern area or rotating it around median
      point.
source/blender/blenkernel/BKE_tracking.h
source/blender/blenkernel/intern/tracking.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_clip/clip_buttons.c
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_generics.c
source/blender/makesdna/DNA_tracking_types.h
source/blender/makesrna/intern/rna_tracking.c