Blender Git Loki

Git Commits -> Revision 576161b

Revision 576161b by Campbell Barton (master)
July 24, 2013, 06:51 (GMT)
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.

Commit Details:

Full Hash: 576161b18673ef5cd5833330d4bfbf1266c3f624
SVN Revision: 58565
Parent Commit: d0f2253
Lines Changed: +136, -53

7 Modified Paths:

/release/scripts/startup/bl_ui/space_sequencer.py (+7, -6) (Diff)
/source/blender/blenkernel/BKE_sequencer.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/mask.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+97, -27) (Diff)
/source/blender/blenloader/intern/readfile.c (+14, -12) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+14, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021