[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11068] branches/soc-2007-maike/source/ blender/src/glsl_light.c: Light uniform update correction

Miguel Torres Lima torreslima at gmail.com
Tue Jun 26 14:40:17 CEST 2007


Revision: 11068
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11068
Author:   maike
Date:     2007-06-26 14:40:17 +0200 (Tue, 26 Jun 2007)

Log Message:
-----------
Light uniform update correction

Modified Paths:
--------------
    branches/soc-2007-maike/source/blender/src/glsl_light.c

Modified: branches/soc-2007-maike/source/blender/src/glsl_light.c
===================================================================
--- branches/soc-2007-maike/source/blender/src/glsl_light.c	2007-06-26 12:19:19 UTC (rev 11067)
+++ branches/soc-2007-maike/source/blender/src/glsl_light.c	2007-06-26 12:40:17 UTC (rev 11068)
@@ -135,11 +135,7 @@
   GLSL_List item = glsl_get_light(lamp);
   GLSL_Light light =  (struct GLSL_Light_ *) item->data;
 
-  if(glsl_active() != 1)
-    return;
 
-  printf("\n event: %d \n", event);
-
   switch(event)
     {
     case B_LAMPTYPE:





More information about the Bf-blender-cvs mailing list