Fix logic for bitwise flags in bases during deg iterator
Spotted/reported by Sergey Sharybin.
This commit is contained in:
parent
c5dccc9734
commit
8ff405ebd4
|
@ -124,7 +124,7 @@ void DEG_objects_iterator_begin(BLI_Iterator *iter, DEGObjectsIteratorData *data
|
|||
*/
|
||||
static void deg_flush_data(Object *ob, Base *base, const int flag)
|
||||
{
|
||||
ob->base_flag = (base->flag | BASE_FROM_SET) & flag;
|
||||
ob->base_flag = (base->flag | BASE_FROM_SET | BASE_FROMDUPLI) & flag;
|
||||
ob->base_collection_properties = base->collection_properties;
|
||||
ob->base_selection_color = base->selcol;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue