Layers/Collections: Fix crash when deleting collection

If the collection to be deleted has a nested collection that is directly linked
to a view layer, we were getting a crash.
This commit is contained in:
Dalai Felinto
2018-01-02 18:19:25 -02:00
parent 8300b5e539
commit 07de8eff77
3 changed files with 64 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ VIEW_LAYER_TEST(move_into_layer_collection_i)
VIEW_LAYER_TEST(move_into_layer_collection_j)
VIEW_LAYER_TEST(layer_linking)
VIEW_LAYER_TEST(layer_syncing)
VIEW_LAYER_TEST(scene_collection_delete)
VIEW_LAYER_TEST(scene_copy_a)
VIEW_LAYER_TEST(scene_copy_b)
VIEW_LAYER_TEST(scene_copy_c)