From 6a686b0bfbdee935fbd6f584f15985b1a8cd4406 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 4 Feb 2019 16:22:28 +0100 Subject: Cleanup: BKE_library: rename id_copy to BKE_id_copy. Time to follow conventions for that one as well. --- source/blender/blenkernel/intern/library_override.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenkernel/intern/library_override.c') diff --git a/source/blender/blenkernel/intern/library_override.c b/source/blender/blenkernel/intern/library_override.c index 13e5748cfda..6e3c5a0ff2a 100644 --- a/source/blender/blenkernel/intern/library_override.c +++ b/source/blender/blenkernel/intern/library_override.c @@ -164,7 +164,7 @@ static ID *override_static_create_from(Main *bmain, ID *reference_id) { ID *local_id; - if (!id_copy(bmain, reference_id, (ID **)&local_id)) { + if (!BKE_id_copy(bmain, reference_id, (ID **)&local_id)) { return NULL; } id_us_min(local_id); @@ -621,7 +621,7 @@ void BKE_override_static_update(Main *bmain, ID *local) * a (performances) issue here. */ ID *tmp_id; - id_copy(bmain, local->override_static->reference, &tmp_id); + BKE_id_copy(bmain, local->override_static->reference, &tmp_id); if (tmp_id == NULL) { return; @@ -727,7 +727,7 @@ ID *BKE_override_static_operations_store_start(Main *bmain, OverrideStaticStorag /* This would imply change in handling of usercout all over RNA (and possibly all over Blender code). * Not impossible to do, but would rather see first is extra useless usual user handling is actually * a (performances) issue here, before doing it. */ - id_copy((Main *)override_storage, local, &storage_id); + BKE_id_copy((Main *)override_storage, local, &storage_id); if (storage_id != NULL) { PointerRNA rnaptr_reference, rnaptr_final, rnaptr_storage; -- cgit v1.2.3