Despgraph: Make dupli objects inherit the parent's display type
Fix T61152 Instanced Collections Don't Honor Viewport Display Setting
This commit is contained in:
parent
d5a024c72d
commit
729a1ab6a0
Notes:
blender-bot
2023-02-14 08:08:54 +01:00
Referenced by issue #61152, Instanced Collections Don't Honor Viewport Display Setting
|
@ -148,6 +148,7 @@ bool deg_objects_dupli_iterator_next(BLI_Iterator *iter)
|
|||
temp_dupli_object->select_id = dupli_parent->select_id;
|
||||
temp_dupli_object->base_flag = dupli_parent->base_flag | BASE_FROM_DUPLI;
|
||||
temp_dupli_object->base_local_view_bits = dupli_parent->base_local_view_bits;
|
||||
temp_dupli_object->dt = dupli_parent->dt;
|
||||
|
||||
/* Duplicated elements shouldn't care whether their original collection is visible or not. */
|
||||
temp_dupli_object->base_flag |= BASE_VISIBLE;
|
||||
|
|
Loading…
Reference in New Issue