Fix T97133: Crash when creating a scene copy
Crash happened in sequencer editor, because pointer to displayed channels was not set in `scene_copy_data`.
This commit is contained in:
parent
3f2d5dfc0d
commit
69a4d113e8
Notes:
blender-bot
2023-02-14 05:53:42 +01:00
Referenced by issue #97238, Prefatch frames in VSE crashes Blender Referenced by issue #97133, Regression: Crash when creating a scene copy with video sequencer open
|
@ -322,6 +322,7 @@ static void scene_copy_data(Main *bmain, ID *id_dst, const ID *id_src, const int
|
|||
SEQ_DUPE_ALL,
|
||||
flag_subdata);
|
||||
BLI_duplicatelist(&scene_dst->ed->channels, &scene_src->ed->channels);
|
||||
scene_dst->ed->displayed_channels = &scene_dst->ed->channels;
|
||||
}
|
||||
|
||||
if ((flag & LIB_ID_COPY_NO_PREVIEW) == 0) {
|
||||
|
|
Loading…
Reference in New Issue