Fix for bug #12473: crash converting old particle system from
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 23 May 2008 09:23:57 +0000 (09:23 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 23 May 2008 09:23:57 +0000 (09:23 +0000)
a linked file.

source/blender/blenloader/intern/readfile.c

index a169e756e8042ec1d1da034e40ab794f30929970..1cb8b10b0873d502589a7841bb6675657ea01aa3 100644 (file)
@@ -7386,6 +7386,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                
                                /* needed for proper libdata lookup */
                                oldnewmap_insert(fd->libmap, psys->part, psys->part, 0);
+                               part->id.lib= ob->id.lib;
 
                                part->id.us--;
                                part->id.flag |= (ob->id.flag & LIB_NEEDLINK);