diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_constraint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_constraint.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 9ad3657284d..8fe3bd77a26 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -101,13 +101,22 @@ typedef struct bConstraintTypeInfo { void (*id_looper)(struct bConstraint *con, ConstraintIDFunc func, void *userdata); /** copy any special data that is allocated separately (optional) */ void (*copy_data)(struct bConstraint *con, struct bConstraint *src); - /** set settings for data that will be used for bConstraint.data (memory already allocated using MEM_callocN) */ + /** + * Set settings for data that will be used for #bConstraint.data + * (memory already allocated using #MEM_callocN). + */ void (*new_data)(void *cdata); /* target handling function pointers */ - /** for multi-target constraints: return that list; otherwise make a temporary list (returns number of targets) */ + /** + * For multi-target constraints: return that list; + * otherwise make a temporary list (returns number of targets). + */ int (*get_constraint_targets)(struct bConstraint *con, struct ListBase *list); - /** for single-target constraints only: flush data back to source data, and the free memory used */ + /** + * For single-target constraints only: + * flush data back to source data, and the free memory used. + */ void (*flush_constraint_targets)(struct bConstraint *con, struct ListBase *list, bool no_copy); /* evaluation */ |