From 4bfa256ea48e51643f848e8dfdaeab615f7b1a88 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 4 Mar 2020 11:42:15 +0100 Subject: Refactor ID make local to use a single flag parameter. Instead of using anonymous booleans flags, also allows to keep the same behavior in all cases, without needing special handling from calling code for our beloved oddballs object proxies... --- source/blender/blenkernel/BKE_object.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/blender/blenkernel/BKE_object.h') diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 8963f241ca8..3f004b453ca 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -140,11 +140,7 @@ void BKE_object_copy_data(struct Main *bmain, const struct Object *ob_src, const int flag); struct Object *BKE_object_copy(struct Main *bmain, const struct Object *ob); -void BKE_object_make_local(struct Main *bmain, struct Object *ob, const bool lib_local); -void BKE_object_make_local_ex(struct Main *bmain, - struct Object *ob, - const bool lib_local, - const bool clear_proxy); +void BKE_object_make_local(struct Main *bmain, struct Object *ob, const int flags); bool BKE_object_is_libdata(const struct Object *ob); bool BKE_object_obdata_is_libdata(const struct Object *ob); -- cgit v1.2.3