bugfix for loading objects saved with the dupli pointer set.
(commit 27662 by Campbell from render25 branch)
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user