Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-07-24 10:51:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-24 10:51:04 +0400
commit576161b18673ef5cd5833330d4bfbf1266c3f624 (patch)
tree4448532c0b4b8aac30cac9d0de0d29e821df4dce /source/blender/blenkernel/intern/movieclip.c
parentd0f225393cc4c65c1e2e9c2003f3a07eb18db28f (diff)
fix [#36262] Paste strip with video or sound content from another file crashes Blender
existing code was very stupid. - all ID pointers for clipboard strips are handled uniformly. - clipboard stores a duplicate ID pointer which are restored on paste. - restoring pointers... -- use ID's that are still in the database (copy&paste within the same file). -- fallback to name lookup. -- fallback to loading them from the original filepath (movie-clip and sound only). also fix bug pasting where initialing the sound wasn't done if there was no frame-offset.
Diffstat (limited to 'source/blender/blenkernel/intern/movieclip.c')
-rw-r--r--source/blender/blenkernel/intern/movieclip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c
index ef3b7ca0bdf..e8550e12e4f 100644
--- a/source/blender/blenkernel/intern/movieclip.c
+++ b/source/blender/blenkernel/intern/movieclip.c
@@ -1395,8 +1395,6 @@ void BKE_movieclip_build_proxy_frame_for_ibuf(MovieClip *clip, ImBuf *ibuf, stru
void BKE_movieclip_free(MovieClip *clip)
{
- BKE_sequencer_clear_movieclip_in_clipboard(clip);
-
free_buffers(clip);
BKE_tracking_free(&clip->tracking);