Merge branch 'blender-v2.91-release' into master

This commit is contained in:
Ankit Meel 2020-10-26 15:06:55 +05:30
commit 336a675c64
1 changed files with 3 additions and 1 deletions

View File

@ -261,7 +261,9 @@ static void id_delete(Main *bmain, const bool do_tagged_deletion)
bool keep_looping = true;
while (keep_looping) {
ID *id, *id_next;
ID *last_remapped_id = tagged_deleted_ids.last;
/* Marked volatile to avoid a macOS Clang optimization bug. See T81077.
* #last_remapped_id.next is assumed to be NULL by optimizer which is wrong. */
volatile ID *last_remapped_id = tagged_deleted_ids.last;
keep_looping = false;
/* First tag and remove from Main all datablocks directly from target lib.