diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-06-06 16:18:45 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-06-06 17:44:07 +0300 |
commit | 9a0506ea185c0ca6505e85ea0f5f5dc5fc48aa62 (patch) | |
tree | 2127394b4aaf60198802dc8910dd80f31efcf2a6 /source/blender/depsgraph/intern/depsgraph_query_iter.cc | |
parent | 36000e6da3fccc94b8623a66e3f2572aa5647db7 (diff) |
Fix T55350: Cycles: instanced hair with hidden emitter is invisible when rendering
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 4f3769b6768..f9bc0da7d28 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_iter.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_iter.cc @@ -120,7 +120,7 @@ static bool deg_objects_dupli_iterator_next(BLI_Iterator *iter) /* Duplicated elements shouldn't care whether their original collection is visible or not. */ temp_dupli_object->base_flag |= BASE_VISIBLED; - if (BKE_object_is_visible(temp_dupli_object, (eObjectVisibilityCheck)data->visibility_check) == false) { + if (BKE_object_is_visible(temp_dupli_object, OB_VISIBILITY_CHECK_UNKNOWN_RENDER_MODE) == false) { continue; } |