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:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-04-17 17:51:00 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-04-20 17:26:31 +0300
commit31357913950968c81b704f0169a91ee293984bf8 (patch)
tree152263dd607908b91787a067736710e8d35d970f /source/blender/blenkernel/intern/constraint.c
parent665bf41f3c4cb439e5efe3fd0cafd5c20d6e921a (diff)
Tracking: Specify image image for (un)distortion model
Allows to support distortion models which needs to know actual image dimensions to apply or inverse camera intrinsics.
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r--source/blender/blenkernel/intern/constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index 099fdacf401..bf100b2e949 100644
--- a/source/blender/blenkernel/intern/constraint.c
+++ b/source/blender/blenkernel/intern/constraint.c
@@ -4694,7 +4694,7 @@ static void followtrack_evaluate(bConstraint *con, bConstraintOb *cob, ListBase
pos[0] *= width;
pos[1] *= height;
- BKE_tracking_undistort_v2(tracking, pos, pos);
+ BKE_tracking_undistort_v2(tracking, width, height, pos, pos);
/* Normalize pixel coordinates back. */
pos[0] /= width;