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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-26 12:48:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-26 12:48:53 +0300
commit9712e3a670659874ef303f45f03b7df6e1d8d649 (patch)
tree83ceb0d5c6e6603b67cb13b5a550b53193b9ecde /source/blender/editors/include/ED_object.h
parent8d9fba656869795d9d0135d2bc3b279e9176f9a1 (diff)
fix for adding drivers to constraints via python.
the RNA constraint api was checking the current context when getting the constraint driver path and renaming constraints. this made scripts not work properly so changed this to search for the constraint pose channel user within the object (if the object its self is not the user).
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r--source/blender/editors/include/ED_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index 1785b0303cb..9842dc1ef76 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -92,6 +92,7 @@ int object_data_is_libdata(struct Object *ob);
/* constraints */
struct ListBase *get_active_constraints(struct Object *ob);
+struct ListBase *get_constraint_lb(struct Object *ob, struct bConstraint *con, struct bPoseChannel **pchan_r);
struct bConstraint *get_active_constraint(struct Object *ob);
void object_test_constraints(struct Object *ob);