[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60247] branches/soc-2013-bge/source/ blender/blenloader/intern/readfile.c: Fixing up file loading so that objects with levels of details properly have their levels of details brought with them when linked or appended .

Daniel Stokes kupomail at gmail.com
Fri Sep 20 02:41:27 CEST 2013


Revision: 60247
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60247
Author:   kupoman
Date:     2013-09-20 00:41:26 +0000 (Fri, 20 Sep 2013)
Log Message:
-----------
Fixing up file loading so that objects with levels of details properly have their levels of details brought with them when linked or appended.

Modified Paths:
--------------
    branches/soc-2013-bge/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2013-bge/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2013-bge/source/blender/blenloader/intern/readfile.c	2013-09-19 23:57:34 UTC (rev 60246)
+++ branches/soc-2013-bge/source/blender/blenloader/intern/readfile.c	2013-09-20 00:41:26 UTC (rev 60247)
@@ -10650,6 +10650,12 @@
 		expand_doit(fd, mainvar, ob->rigidbody_constraint->ob2);
 	}
 
+	if (ob->currentlod) {
+		LodLevel *level;
+		for (level = ob->lodlevels.first; level; level = level->next) {
+			expand_doit(fd, mainvar, level->source);
+		}
+	}
 }
 
 static void expand_scene(FileData *fd, Main *mainvar, Scene *sce)




More information about the Bf-blender-cvs mailing list