Fix #108285: Crash in Outliner when using RNA ID remapping API call.
RNA API call was not updated UI in anyway.
This commit is contained in:
@@ -1013,6 +1013,8 @@ static void rna_ID_user_remap(ID *id, Main *bmain, ID *new_id)
|
||||
/* For now, do not allow remapping data in linked data from here... */
|
||||
BKE_libblock_remap(
|
||||
bmain, id, new_id, ID_REMAP_SKIP_INDIRECT_USAGE | ID_REMAP_SKIP_NEVER_NULL_USAGE);
|
||||
|
||||
WM_main_add_notifier(NC_WINDOW, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user