Fix #114134: Make Local (All) operator is crashing Blender with Library Override.
Dummy mistake in own a238ab737b, forgot to do a NULL check...
This commit is contained in:
@@ -3619,8 +3619,11 @@ void BKE_lib_override_library_make_local(Main *bmain, ID *id)
|
||||
}
|
||||
|
||||
/* In case a liboverride hierarchy root is 'made local', i.e. is not a liboverride anymore, all
|
||||
* hierarchy roots of all liboverrides need to be validated/re-generated again. */
|
||||
BKE_lib_override_library_main_hierarchy_root_ensure(bmain);
|
||||
* hierarchy roots of all liboverrides need to be validated/re-generated again.
|
||||
* Only in case `bmain` is given, otherwise caller is responsible to do this. */
|
||||
if (bmain) {
|
||||
BKE_lib_override_library_main_hierarchy_root_ensure(bmain);
|
||||
}
|
||||
}
|
||||
|
||||
/* We only build override GHash on request. */
|
||||
|
||||
Reference in New Issue
Block a user