fix [#32434] Copy-Paste Tracks causes Blender to freeze/crash on second use.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 3 Sep 2012 01:05:04 +0000 (01:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 3 Sep 2012 01:05:04 +0000 (01:05 +0000)
source/blender/blenkernel/intern/tracking.c

index 78e7dab045f5b65b51f8e444b7015427770c188d..2ed9d992c3ffb8bfe4d45e3a4bb0ddd52d9165dc 100644 (file)
@@ -411,6 +411,8 @@ void BKE_tracking_clipboard_free(void)
 
                track = next_track;
        }
+
+       tracking_clipboard.tracks.first = tracking_clipboard.tracks.last = NULL;
 }
 
 void BKE_tracking_clipboard_copy_tracks(MovieTracking *tracking, MovieTrackingObject *object)