Cleanup: Clang format.

This commit is contained in:
Bastien Montagne 2020-07-23 17:07:30 +02:00
parent ad6cfcef01
commit 50cb693f1d
1 changed files with 2 additions and 1 deletions

View File

@ -1453,7 +1453,8 @@ void BKE_lib_override_library_update(Main *bmain, ID *local)
/* This is some kind of hard-coded 'always enforced override'... */
BKE_lib_id_swap(bmain, &local_key->id, &tmp_key->id);
tmp_key->id.flag |= (local_key->id.flag & LIB_EMBEDDED_DATA_LIB_OVERRIDE);
/* The swap of local and tmp_id inverted those pointers, we need to redefine proper relationships. */
/* The swap of local and tmp_id inverted those pointers, we need to redefine proper
* relationships. */
*BKE_key_from_id_p(local) = local_key;
*BKE_key_from_id_p(tmp_id) = tmp_key;
local_key->from = local;