[Bf-blender-cvs] [9a0506ea185] blender2.8: Fix T55350: Cycles: instanced hair with hidden emitter is invisible when rendering
Dalai Felinto
noreply at git.blender.org
Wed Jun 6 17:09:47 CEST 2018
Commit: 9a0506ea185c0ca6505e85ea0f5f5dc5fc48aa62
Author: Dalai Felinto
Date: Wed Jun 6 15:18:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB9a0506ea185c0ca6505e85ea0f5f5dc5fc48aa62
Fix T55350: Cycles: instanced hair with hidden emitter is invisible when rendering
===================================================================
M source/blender/depsgraph/intern/depsgraph_query_iter.cc
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list