Cleanup: BKE_scene_free should not have to worry about cleaning its usages.

This is supposed to be handled by calling code! Henceforce, no need to
call BKE_sequencer_clear_scene_in_allseqs() here, and... no need for
that ugly G.main case. ;)
This commit is contained in:
Bastien Montagne 2018-06-12 17:46:16 +02:00
parent b00d840359
commit f27ecd56ef
1 changed files with 0 additions and 3 deletions

View File

@ -458,9 +458,6 @@ void BKE_scene_free(Scene *sce)
BKE_animdata_free((ID *)sce, false);
/* check all sequences */
BKE_sequencer_clear_scene_in_allseqs(G.main, sce);
sce->basact = NULL;
BLI_freelistN(&sce->base);
BKE_sequencer_editing_free(sce, false);