diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-21 16:26:53 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-21 16:27:02 +0300 |
commit | 2f506b94588b9003d9f422ce3c5a0e9dc05f6610 (patch) | |
tree | 2f2a7003f191c1114fda2bedb8102673df3e05e8 | |
parent | cc8f1040982b6747815f94999136971af6c5a0f2 (diff) |
Fix objects visibility evaluation bug
This was introduced on 4b77fb30759d1b62224033fc92c55eef7f3e414a no idea how I left this in, shame on me
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query.cc b/source/blender/depsgraph/intern/depsgraph_query.cc index 2fe10766bba..952a4af0208 100644 --- a/source/blender/depsgraph/intern/depsgraph_query.cc +++ b/source/blender/depsgraph/intern/depsgraph_query.cc @@ -136,7 +136,7 @@ void DAG_objects_iterator_next(Iterator *iter) Base *base = data->base->next; while (base) { - if ((base->flag & data->flag) != BASE_VISIBLED) { + if ((base->flag & BASE_VISIBLED) != 0) { Object *ob = DAG_get_object(data->graph, base->object); iter->current = ob; |