Fix T56224: Blender2.8 will force a quit when trying to open a scene containing clip track created by blender 2.79.

Beautiful example of typo going unoticed and firing back up in totally
unexpected place years later. Guess nobody actually duplicated a Clip
data-block before! :P

Most likely own fault, during refactor of ID copying code.
This commit is contained in:
Bastien Montagne 2018-08-13 13:43:35 +02:00
parent 844b40b0c1
commit 0aefef7f8f
Notes: blender-bot 2023-02-14 06:05:22 +01:00
Referenced by issue #56224, Blender2.8 will force a quit when trying to open a scene containing clip track created by blender 2.79
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ static void tracking_plane_tracks_copy(
BLI_listbase_clear(plane_tracks_dst);
for (plane_track_src = plane_tracks_src->first; plane_track_src != NULL; plane_track_src = plane_track_src->next) {
plane_track_dst = MEM_dupallocN(plane_tracks_src);
plane_track_dst = MEM_dupallocN(plane_track_src);
if (plane_track_src->markers) {
plane_track_dst->markers = MEM_dupallocN(plane_track_src->markers);
}