[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27662] branches/render25/source/blender/ blenloader/intern/readfile.c: bugfix for loading objects saved with the dupli pointer set.
Campbell Barton
ideasman42 at gmail.com
Mon Mar 22 17:13:17 CET 2010
Revision: 27662
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27662
Author: campbellbarton
Date: 2010-03-22 17:13:17 +0100 (Mon, 22 Mar 2010)
Log Message:
-----------
bugfix for loading objects saved with the dupli pointer set.
Modified Paths:
--------------
branches/render25/source/blender/blenloader/intern/readfile.c
Modified: branches/render25/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/render25/source/blender/blenloader/intern/readfile.c 2010-03-22 15:55:12 UTC (rev 27661)
+++ branches/render25/source/blender/blenloader/intern/readfile.c 2010-03-22 16:13:17 UTC (rev 27662)
@@ -3461,7 +3461,8 @@
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 */
More information about the Bf-blender-cvs
mailing list