Fix objects visibility evaluation bug

This was introduced on 4b77fb3075 no idea how I left this in, shame on me
This commit is contained in:
Dalai Felinto
2017-04-21 15:26:53 +02:00
parent cc8f104098
commit 2f506b9458

View File

@@ -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;