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:
authorTon Roosendaal <ton@blender.org>2007-12-02 21:33:14 +0300
committerTon Roosendaal <ton@blender.org>2007-12-02 21:33:14 +0300
commit71e4b3ce2256a2aea80d1728066f20756f6a438b (patch)
treeb3ad41be0cb5e8209e605b7dd1a43a248165b5bf /source/blender/blenloader/intern
parent1c661f19c879ebdbaa44a67d4b4ad9d871db25d2 (diff)
Another Proxy Armature bugfix:
- Library referencing didn't add the new local Ipo for constraints - Proxy command didn't set the driver object in constraint ipo to be the new proxy object.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 678e2da276f..b67cdc61dc6 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7585,6 +7585,10 @@ static void expand_constraints(FileData *fd, Main *mainvar, ListBase *lb)
bConstraint *curcon;
for (curcon=lb->first; curcon; curcon=curcon->next) {
+
+ if (curcon->ipo)
+ expand_doit(fd, mainvar, curcon->ipo);
+
switch (curcon->type) {
case CONSTRAINT_TYPE_NULL:
break;