[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17754] branches/sim_physics/source/ blender/src/buttons_shading.c: * Added back the GR: field for volume materials, limiting lighting to a certain group

Matt Ebb matt at mke3.net
Tue Dec 9 05:27:36 CET 2008


Revision: 17754
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17754
Author:   broken
Date:     2008-12-09 05:27:34 +0100 (Tue, 09 Dec 2008)

Log Message:
-----------
* Added back the GR: field for volume materials, limiting lighting to a certain group

Modified Paths:
--------------
    branches/sim_physics/source/blender/src/buttons_shading.c

Modified: branches/sim_physics/source/blender/src/buttons_shading.c
===================================================================
--- branches/sim_physics/source/blender/src/buttons_shading.c	2008-12-09 04:13:23 UTC (rev 17753)
+++ branches/sim_physics/source/blender/src/buttons_shading.c	2008-12-09 04:27:34 UTC (rev 17754)
@@ -4529,6 +4529,10 @@
 			X2CLM2, yco-=BUTH, BUTW2, BUTH, 0, 0, 0, 0, 0, "");
 	}
 	
+	yco -= YSPACE;
+	uiDefIDPoinBut(block, test_grouppoin_but, ID_GR, B_MATPRV, "GR:",
+		X2CLM2, yco-=BUTH, BUTW2, BUTH, &ma->group, "Limit Lighting to Lamps in this Group"); 
+	
 }
 
 static void material_panel_nodes(Material *ma)





More information about the Bf-blender-cvs mailing list