diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-17 14:39:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-17 15:30:16 +0300 |
commit | b84085ef1a0a0b484177ad174b789296ad23b5ff (patch) | |
tree | 3ab100fac75e12f1568a28b7a59eef527b8eacc1 /source/blender/depsgraph/intern/depsgraph_query_iter.cc | |
parent | e03b7176877d27f4dd42dd698a85a1f046f9202a (diff) |
Fix T63145: nested instancers not respecting Display Instancer setting
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_query_iter.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query_iter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_iter.cc b/source/blender/depsgraph/intern/depsgraph_query_iter.cc index 06632d7e510..251857b58c9 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_iter.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_iter.cc @@ -153,7 +153,7 @@ bool deg_objects_dupli_iterator_next(BLI_Iterator *iter) temp_dupli_object->base_flag |= BASE_VISIBLE; int ob_visibility = BKE_object_visibility(temp_dupli_object, data->eval_mode); - if (ob_visibility == 0) { + if ((ob_visibility & (OB_VISIBLE_SELF | OB_VISIBLE_PARTICLES)) == 0) { continue; } |