[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42773] branches/ge_harmony/source/blender /blenloader/intern/readfile.c: Fixing the do_version for sun lamps so non sun lamps also get updated ( in case the user switches the lamp later to a sun lamp).

Daniel Stokes kupomail at gmail.com
Tue Dec 20 22:09:23 CET 2011


Revision: 42773
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42773
Author:   kupoman
Date:     2011-12-20 21:09:15 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
Fixing the do_version for sun lamps so non sun lamps also get updated (in case the user switches the lamp later to a sun lamp).

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

Modified: branches/ge_harmony/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/ge_harmony/source/blender/blenloader/intern/readfile.c	2011-12-20 18:59:10 UTC (rev 42772)
+++ branches/ge_harmony/source/blender/blenloader/intern/readfile.c	2011-12-20 21:09:15 UTC (rev 42773)
@@ -12669,7 +12669,6 @@
 	{
 		Lamp *la;
 		for (la= main->lamp.first; la; la= la->id.next) {
-			if (la->type == LA_SUN)
 				la->sun_shadow_frustum= 10.0f;
 		}
 	}




More information about the Bf-blender-cvs mailing list