diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-15 19:47:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-15 19:47:32 +0400 |
commit | 630798ba3c47ee8d1cead13ee0494b9645f139f7 (patch) | |
tree | 6821413d55f37a3f94d38b389537773431f58d36 /source/blender/blenkernel/intern/tracking.c | |
parent | ee2b7b2c683ae9164be181193cd7ca9af27ebd0f (diff) |
add in ifdef for WITH_LIBMV, correct own error passing float[2] as float[3]
Diffstat (limited to 'source/blender/blenkernel/intern/tracking.c')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 3100917cd0c..df10d1374bb 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -1462,7 +1462,9 @@ MovieDistortion *BKE_tracking_distortion_new(void) distortion = MEM_callocN(sizeof(MovieDistortion), "BKE_tracking_distortion_create"); +#ifdef WITH_LIBMV distortion->intrinsics = libmv_CameraIntrinsicsNewEmpty(); +#endif return distortion; } |