Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2003-11-23 23:28:35 +0300
committerMartin Poirier <theeth@yahoo.com>2003-11-23 23:28:35 +0300
commitd3563d23b7ce4b8da634a01e67660e4aa2a6d7ac (patch)
tree26a9be68cccc88cc8e7fa83d861a094062af2532 /source/blender/blenkernel/BKE_constraint.h
parentf58d256a9cd5b6a1cf920b63202e979b0e785308 (diff)
No line for constraint without target
Code notes: The constraint_has_target can be used to test if a constraint has a target at all.
Diffstat (limited to 'source/blender/blenkernel/BKE_constraint.h')
-rw-r--r--source/blender/blenkernel/BKE_constraint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h
index 0a878d93ebe..6570f547e48 100644
--- a/source/blender/blenkernel/BKE_constraint.h
+++ b/source/blender/blenkernel/BKE_constraint.h
@@ -55,6 +55,7 @@ void do_constraint_channels (struct ListBase *conbase, struct ListBase *chanbase
short get_constraint_target (struct bConstraint *con, short ownertype, void *ownerdata, float mat[][4], float size[3], float time);
struct bConstraintChannel *find_constraint_channel (ListBase *list, const char *name);
void free_constraint_channels (ListBase *chanbase);
+char constraint_has_target (struct bConstraint *con);
/* Constraint target/owner types */
#define TARGET_OBJECT 1 // string is ""