From eb7f2457e589e1a071b2e3f45e1dd9f4ac1d62ed Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 13 Feb 2019 14:29:27 +0100 Subject: Cleanup: do not cleanup runtime data twice during ID copying... More or less same code was being executed twice during ID copying. Makes no sense to add yet another switch-by-ID-type to handle specificaly runtime data during ID copying, we already have BKE_xxx_copy_data() functions for that. --- source/blender/blenkernel/BKE_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 527d88917c9..e0f281c1039 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -306,7 +306,7 @@ int BKE_object_scenes_users_get(struct Main *bmain, struct Object *ob); struct MovieClip *BKE_object_movieclip_get(struct Scene *scene, struct Object *ob, bool use_default); void BKE_object_runtime_reset(struct Object *object); -void BKE_object_runtime_reset_on_copy(struct Object *object); +void BKE_object_runtime_reset_on_copy(struct Object *object, const int flag); void BKE_object_batch_cache_dirty_tag(struct Object *ob); -- cgit v1.2.3