From 23254ce4ee6b21b202549b421cf1d98f6a03b33d Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 14 Jun 2019 23:16:04 +0200 Subject: Cleanup: Rename: Static Override -> Library Override. Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit. --- source/blender/blenkernel/intern/library_query.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenkernel/intern/library_query.c') diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index 2b8973ff873..8bbc0bb8ae1 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -428,11 +428,11 @@ static void library_foreach_ID_link(Main *bmain, continue; } - if (id->override_static != NULL) { - CALLBACK_INVOKE_ID(id->override_static->reference, - IDWALK_CB_USER | IDWALK_CB_STATIC_OVERRIDE_REFERENCE); - CALLBACK_INVOKE_ID(id->override_static->storage, - IDWALK_CB_USER | IDWALK_CB_STATIC_OVERRIDE_REFERENCE); + if (id->override_library != NULL) { + CALLBACK_INVOKE_ID(id->override_library->reference, + IDWALK_CB_USER | IDWALK_CB_OVERRIDE_LIBRARY_REFERENCE); + CALLBACK_INVOKE_ID(id->override_library->storage, + IDWALK_CB_USER | IDWALK_CB_OVERRIDE_LIBRARY_REFERENCE); } library_foreach_idproperty_ID_link(&data, id->properties, IDWALK_CB_USER); -- cgit v1.2.3