From 7c58e6a9f2ac2d1022fba5c8df030e5df226583b Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 6 May 2012 01:27:48 +0000 Subject: Simplifying constraints code - removed relink_data() callbacks in favour of a more generic system which goes through id_looper(), reducing the maintainance burden for new constraint authors --- source/blender/blenkernel/BKE_constraint.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/blenkernel/BKE_constraint.h') diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index b12ab538184..35d07e7a7a7 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -87,8 +87,6 @@ typedef struct bConstraintTypeInfo { /* data management function pointers - special handling */ /* free any data that is allocated separately (optional) */ void (*free_data)(struct bConstraint *con); - /* adjust pointer to other ID-data using ID_NEW(), but not to targets (optional) */ - void (*relink_data)(struct bConstraint *con); /* run the provided callback function on all the ID-blocks linked to the constraint */ void (*id_looper)(struct bConstraint *con, ConstraintIDFunc func, void *userdata); /* copy any special data that is allocated separately (optional) */ -- cgit v1.2.3