Library reload code: add early out in case there is nothing to reload.
This commit is contained in:
@@ -590,6 +590,11 @@ static void lib_relocate_do(
|
||||
}
|
||||
}
|
||||
|
||||
if (lapp_data->num_items == 0) {
|
||||
/* Early out in case there is nothing to do. */
|
||||
return;
|
||||
}
|
||||
|
||||
BKE_main_id_tag_all(bmain, LIB_TAG_PRE_EXISTING, true);
|
||||
|
||||
/* We do not want any instanciation here! */
|
||||
|
Reference in New Issue
Block a user