diff options
Diffstat (limited to 'source/blender/blenkernel/intern/layer.c')
-rw-r--r-- | source/blender/blenkernel/intern/layer.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c index 26a9326409f..993df715218 100644 --- a/source/blender/blenkernel/intern/layer.c +++ b/source/blender/blenkernel/intern/layer.c @@ -991,20 +991,6 @@ static void layer_collection_flag_unset_recursive(LayerCollection *lc, const int } /** - * Return true if something changed. */ -static bool layer_collection_collection_flag_unset_recursive(LayerCollection *lc, const int flag) -{ - bool changed = (lc->collection->flag & flag) != 0; - - lc->collection->flag &= ~flag; - for (LayerCollection *lc_iter = lc->layer_collections.first; lc_iter; lc_iter = lc_iter->next) { - changed |= layer_collection_collection_flag_unset_recursive(lc_iter, flag); - } - - return changed; -} - -/** * Isolate the collection - hide all other collections but this one. * Make sure to show all the direct parents and all children of the layer collection as well. * When extending we simply show the collections and its direct family. |