bugfix for loading objects saved with the dupli pointer set.

(commit 27662 by Campbell from render25 branch)
This commit is contained in:
Brecht Van Lommel
2010-03-23 14:47:40 +00:00
parent f743b583bf
commit 69be3d45e8

View File

@@ -3461,7 +3461,8 @@ static void lib_link_object(FileData *fd, Main *main)
for(a=0; a<ob->totcol; a++) ob->mat[a]= newlibadr_us(fd, ob->id.lib, ob->mat[a]);
ob->gpd= newlibadr_us(fd, ob->id.lib, ob->gpd);
ob->duplilist= NULL;
ob->id.flag -= LIB_NEEDLINK;
/* if id.us==0 a new base will be created later on */