Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-02-09 23:41:52 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-02-09 23:41:52 +0300
commit66c23ea2b4a4eb66490a8b9b6c57ed60ec934a42 (patch)
tree8bec50a3953f27fcca8dcfd199df7877f4925793 /source/blender/editors/space_outliner/outliner_collections.c
parent69f50e6ea98c5f9ac082e9795e0cd3c1cba5378f (diff)
Cleanup: Use ID_IS_LINKED instead of id.lib
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_collections.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_collections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c
index 92c68681a54..ee4b2bc9ef9 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -1065,7 +1065,7 @@ static int collection_flag_exec(bContext *C, wmOperator *op)
GSET_ITER(collections_to_edit_iter, data.collections_to_edit) {
LayerCollection *layer_collection = BLI_gsetIterator_getKey(&collections_to_edit_iter);
Collection *collection = layer_collection->collection;
- if (collection->id.lib != NULL) {
+ if (ID_IS_LINKED(collection)) {
continue;
}
if (clear) {