Fix (unreported) broken usercount of collections after duplication.
Was missing proper flag in library_query code, collections are also id-users of their children collections.
This commit is contained in:
parent
702e7bfd5c
commit
8462f0e85e
|
@ -780,7 +780,7 @@ static void library_foreach_ID_link(
|
|||
CALLBACK_INVOKE(cob->ob, IDWALK_CB_USER);
|
||||
}
|
||||
for (CollectionChild *child = collection->children.first; child; child = child->next) {
|
||||
CALLBACK_INVOKE(child->collection, IDWALK_CB_NEVER_SELF);
|
||||
CALLBACK_INVOKE(child->collection, IDWALK_CB_NEVER_SELF | IDWALK_CB_USER);
|
||||
}
|
||||
for (CollectionParent *parent = collection->parents.first; parent; parent = parent->next) {
|
||||
CALLBACK_INVOKE(parent->collection, IDWALK_CB_NEVER_SELF);
|
||||
|
|
Loading…
Reference in New Issue