diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-02-06 23:47:47 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-02-06 23:48:50 +0300 |
commit | 5ed27372ab455d96b0c028ca67f578fd896a44d5 (patch) | |
tree | 57b57d6c9fcd2b94e9d0f8b76ce6ec9603403565 /source/blender/blenkernel/intern | |
parent | db231e87fc84fe620e4276ba4f98982cb8b3ba80 (diff) |
Remove no-longer needed function
Diffstat (limited to 'source/blender/blenkernel/intern')
-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. |