Commit: 2f506b94588b9003d9f422ce3c5a0e9dc05f6610
Author: Dalai Felinto
Date:   Fri Apr 21 15:26:53 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB2f506b94588b9003d9f422ce3c5a0e9dc05f6610

Fix objects visibility evaluation bug

This was introduced on 4b77fb30759d1b62224033fc92c55eef7f3e414a no idea how I 
left this in, shame on me

===================================================================

M       source/blender/depsgraph/intern/depsgraph_query.cc

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to