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-01 13:48:33 +0300
committerTon Roosendaal <ton@blender.org>2007-12-01 13:48:33 +0300
commit45c41ffb693f96856d5969a2427e504472026162 (patch)
tree1fd55c14fc2740380fea43d0f2ffa01a5d18b399 /source/blender/blenloader/intern
parent587b2d0d3a171f8ea11919ebea0e2a5af77508d1 (diff)
Two fixes:
- new option for Local Constraint Ipos did not set user counter in Ipo at file reading, causing data to get lost (not saved). - Driver feature: the channels "Loc X Y Z" now also use the result of constraints, but transformed back into local space, as if it was action X Y Z. Nice stuff for those who understand this... it means you can drive something with a bone that has constraints.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index d31a93cdafc..996d2deb3fc 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1622,7 +1622,7 @@ static void lib_link_constraints(FileData *fd, ID *id, ListBase *conlist)
con->type= CONSTRAINT_TYPE_NULL;
}
/* own ipo, all constraints have it */
- con->ipo= newlibadr(fd, id->lib, con->ipo);
+ con->ipo= newlibadr_us(fd, id->lib, con->ipo);
switch (con->type) {
case CONSTRAINT_TYPE_PYTHON: