[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51645] trunk/blender/source/blender/ blenloader/intern/readfile.c: fix for another error reported in [#26712], use count failing with 3 levels of linking.

Campbell Barton ideasman42 at gmail.com
Fri Oct 26 07:33:09 CEST 2012


Revision: 51645
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51645
Author:   campbellbarton
Date:     2012-10-26 05:33:06 +0000 (Fri, 26 Oct 2012)
Log Message:
-----------
fix for another error reported in [#26712], use count failing with 3 levels of linking.

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/readfile.c

Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c	2012-10-26 05:22:24 UTC (rev 51644)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c	2012-10-26 05:33:06 UTC (rev 51645)
@@ -3415,7 +3415,7 @@
 					/* if we have indexes, let's use them */
 					for (dw = part->dupliweights.first; dw; dw = dw->next) {
 						GroupObject *go = (GroupObject *)BLI_findlink(&part->dup_group->gobject, dw->index);
-						dw->ob = go ? go->ob : NULL;
+						dw->ob = go ? newlibadr(fd, part->id.lib, dw->ob) : NULL;
 					}
 				}
 				else {




More information about the Bf-blender-cvs mailing list