Fix T78999: Crash when adjusting sequencer property
Sequencer was not initialized yet, and RNA update function tried to clean up cache. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8323
This commit is contained in:
parent
573972ff41
commit
d5809b39d5
Notes:
blender-bot
2023-02-14 01:07:44 +01:00
Referenced by issue #78999, Segmentation fault when setting `D.scenes[0].sequence_editor.proxy_storage` with a second scene selected having no sequence editor Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -4306,6 +4306,10 @@ void BKE_sequence_invalidate_movieclip_strips(Main *bmain, MovieClip *clip_targe
|
|||
|
||||
void BKE_sequencer_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render)
|
||||
{
|
||||
if (scene->ed == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
Sequence *seq;
|
||||
|
||||
BKE_sequencer_cache_cleanup(scene);
|
||||
|
|
Loading…
Reference in New Issue