diff options
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index b4172a0d49d..72f8c6552ca 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -1195,8 +1195,13 @@ static void lib_link_constraint_channels(FileData *fd, ID *id, ListBase *chanbas static void lib_link_constraints(FileData *fd, ID *id, ListBase *conlist) { bConstraint *con; - + for (con = conlist->first; con; con=con->next) { + /* patch for error introduced by changing constraints (dunno how) */ + if(con->data==NULL) { + con->type= CONSTRAINT_TYPE_NULL; + } + switch (con->type) { case CONSTRAINT_TYPE_ACTION: { |