From 71e4b3ce2256a2aea80d1728066f20756f6a438b Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 2 Dec 2007 18:33:14 +0000 Subject: 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. --- source/blender/blenloader/intern/readfile.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenloader/intern') 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; -- cgit v1.2.3