Fix T49181: Movie clip animation lost when invoking action which reloads the clip
Was a bug since the very beginning of movie clip animation support which was done on Feb 2012.
This commit is contained in:
parent
a9f8e384f1
commit
09dc8a7954
Notes:
blender-bot
2023-02-14 07:39:42 +01:00
Referenced by issue #49181, 2D stabilization offset animation lost
|
@ -1247,8 +1247,6 @@ static void free_buffers(MovieClip *clip)
|
|||
IMB_free_anim(clip->anim);
|
||||
clip->anim = NULL;
|
||||
}
|
||||
|
||||
BKE_animdata_free((ID *) clip, false);
|
||||
}
|
||||
|
||||
void BKE_movieclip_clear_cache(MovieClip *clip)
|
||||
|
@ -1487,6 +1485,7 @@ void BKE_movieclip_free(MovieClip *clip)
|
|||
free_buffers(clip);
|
||||
|
||||
BKE_tracking_free(&clip->tracking);
|
||||
BKE_animdata_free((ID *) clip, false);
|
||||
}
|
||||
|
||||
MovieClip *BKE_movieclip_copy(Main *bmain, MovieClip *clip)
|
||||
|
|
Loading…
Reference in New Issue