Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-02-04 18:22:28 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-05 11:49:50 +0300
commit6a686b0bfbdee935fbd6f584f15985b1a8cd4406 (patch)
treec8dc0e7c91070e075feb91d605a4438a6a448846 /source/blender/blenkernel/intern/library_override.c
parent7636e9785dc11fc9f11f89ba055f414e6efe43fa (diff)
Cleanup: BKE_library: rename id_copy to BKE_id_copy.
Time to follow conventions for that one as well.
Diffstat (limited to 'source/blender/blenkernel/intern/library_override.c')
-rw-r--r--source/blender/blenkernel/intern/library_override.c6
1 files changed, 3 insertions, 3 deletions
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;