Cleanup: `BKE_library_update_ID_link_user`: use `id_us_ensure_real` for `IDWALK_USER_ONE`.

This commit is contained in:
Bastien Montagne 2015-11-09 21:15:11 +01:00
parent 9c6fe810a3
commit 6860ccabc0
1 changed files with 1 additions and 3 deletions

View File

@ -670,8 +670,6 @@ void BKE_library_update_ID_link_user(ID *id_dst, ID *id_src, const int cd_flag)
id_us_plus(id_dst);
}
else if (cd_flag & IDWALK_USER_ONE) {
if (id_dst->us == 0) {
id_us_plus(id_dst);
}
id_us_ensure_real(id_dst);
}
}