WIP commit, (just in case my HD breaks down). Don't expect anything to work. Code...
[blender.git] / source / blender / blenloader / intern / readfile.c
index 99f0885b43541aa6effecf83fdcc953e7238c323..56f1c817a50f0646db1043fd02f9fa67d7b04c0f 100644 (file)
@@ -2893,6 +2893,8 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb)
                        
                        collmd->x = NULL;
                        collmd->xnew = NULL;
+                       collmd->current_x = NULL;
+                       collmd->current_xnew = NULL;
                        collmd->time = -1;
                        collmd->numverts = 0;
                        collmd->tree = NULL;
@@ -3009,7 +3011,6 @@ static void direct_link_object(FileData *fd, Object *ob)
                sb->bpoint= NULL;       // init pointers so it gets rebuilt nicely
                sb->bspring= NULL;
                sb->scratch= NULL;
-
                
                sb->keys= newdataadr(fd, sb->keys);
                test_pointer_array(fd, (void **)&sb->keys);