[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29792] branches/render25/release/scripts/ ui/properties_material.py: Render Branch: local lightgroup option was missing for volume

Brecht Van Lommel brecht at blender.org
Tue Jun 29 15:23:07 CEST 2010


Revision: 29792
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29792
Author:   blendix
Date:     2010-06-29 15:23:07 +0200 (Tue, 29 Jun 2010)

Log Message:
-----------
Render Branch: local lightgroup option was missing for volume
materials in the UI.

Modified Paths:
--------------
    branches/render25/release/scripts/ui/properties_material.py

Modified: branches/render25/release/scripts/ui/properties_material.py
===================================================================
--- branches/render25/release/scripts/ui/properties_material.py	2010-06-29 13:22:28 UTC (rev 29791)
+++ branches/render25/release/scripts/ui/properties_material.py	2010-06-29 13:23:07 UTC (rev 29792)
@@ -950,11 +950,12 @@
         col = split.column()
         col.label(text="Light Group:")
         col.prop(mat, "light_group", text="")
-        row = col.row()
-        row.active = bool(mat.light_group)
-        row.prop(mat, "light_group_exclusive", text="Exclusive")
+        
+        col = col.column(align=True)
+        col.active = bool(mat.light_group)
+        col.prop(mat, "light_group_exclusive", text="Exclusive")
+        col.prop(mat, "light_group_local", text="Local")
 
-
 classes = [
     MATERIAL_PT_context_material,
     MATERIAL_PT_preview,





More information about the Bf-blender-cvs mailing list