diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-30 12:34:00 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-30 12:34:00 +0400 |
commit | 7c5c256fd54050ad37ea535dd8be984b581a8e95 (patch) | |
tree | 7481a78d60f3db7760703da2c72f29d1ff906e70 /source/blender/blenkernel/intern/tracking.c | |
parent | 6d965f4493871c9bd4550939b8263d0c509b7c41 (diff) |
Fix #29729: Blender crashes when camera solving with a disabled marker
Stupid mistake in index of last marker when detecting frames bounds
Diffstat (limited to 'source/blender/blenkernel/intern/tracking.c')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 1a0007c5bfe..c92b05a92fe 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -1609,7 +1609,7 @@ MovieReconstructContext* BKE_tracking_reconstruction_context_new(MovieTracking * context->tracks_map= tracks_map_new(num_tracks, 0); track= tracking->tracks.first; while(track) { - int first= 0, last= track->markersnr; + int first= 0, last= track->markersnr-1; MovieTrackingMarker *first_marker= &track->markers[0]; MovieTrackingMarker *last_marker= &track->markers[track->markersnr-1]; |