diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-04 22:38:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-05 12:53:16 +0300 |
commit | 8b716655e2152bb7558e00a5061f1381f9a9bd6e (patch) | |
tree | b4bb135720d24b17107d311da83c38d98b4c8e83 /source/blender/blenkernel/intern/anim_sys.c | |
parent | 846105d254bf720dc8c1a0f1ffc892af7c25b06e (diff) |
Cleanup: replace BKE_id_copy_ex by BKE_id_copy where possible.
That way it is obvious when we are using default ID copy behaviour, and
when we are using advanced/specialized ones.
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 81bf11e2cd7..6b11d146837 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -284,8 +284,8 @@ AnimData *BKE_animdata_copy(Main *bmain, AnimData *adt, const int flag) /* make a copy of action - at worst, user has to delete copies... */ if (do_action) { BLI_assert(bmain != NULL); - BKE_id_copy_ex(bmain, (ID *)dadt->action, (ID **)&dadt->action, 0); - BKE_id_copy_ex(bmain, (ID *)dadt->tmpact, (ID **)&dadt->tmpact, 0); + BKE_id_copy(bmain, (ID *)dadt->action, (ID **)&dadt->action); + BKE_id_copy(bmain, (ID *)dadt->tmpact, (ID **)&dadt->tmpact); } else if (do_id_user) { id_us_plus((ID *)dadt->action); |