[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46867] trunk/blender/source/blender/ makesrna/intern/rna_lamp.c: remove unused enums ( these are defined and used elsewhere)

Campbell Barton ideasman42 at gmail.com
Tue May 22 09:07:25 CEST 2012


Revision: 46867
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46867
Author:   campbellbarton
Date:     2012-05-22 07:07:25 +0000 (Tue, 22 May 2012)
Log Message:
-----------
remove unused enums (these are defined and used elsewhere)

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_lamp.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_lamp.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_lamp.c	2012-05-22 07:06:48 UTC (rev 46866)
+++ trunk/blender/source/blender/makesrna/intern/rna_lamp.c	2012-05-22 07:07:25 UTC (rev 46867)
@@ -758,20 +758,6 @@
 	StructRNA *srna;
 	PropertyRNA *prop;
 
-	static EnumPropertyItem prop_shadbuffiltertype_items[] = {
-		{LA_SHADBUF_BOX,  "BOX", 0, "Box", "Apply the Box filter to shadow buffer samples"},
-		{LA_SHADBUF_TENT, "TENT", 0, "Tent", "Apply the Tent Filter to shadow buffer samples"},
-		{LA_SHADBUF_GAUSS, "GAUSS", 0, "Gauss", "Apply the Gauss filter to shadow buffer samples"},
-		{0, NULL, 0, NULL, NULL}
-	};
-
-	static EnumPropertyItem prop_numbuffer_items[] = {
-		{1, "BUFFERS_1", 0, "1", "Only one buffer rendered"},
-		{4, "BUFFERS_4", 0, "4", "Render 4 buffers for better AA, this quadruples memory usage"},
-		{9, "BUFFERS_9", 0, "9", "Render 9 buffers for better AA, this uses nine times more memory"},
-		{0, NULL, 0, NULL, NULL}
-	};
-
 	srna = RNA_def_struct(brna, "SpotLamp", "Lamp");
 	RNA_def_struct_sdna(srna, "Lamp");
 	RNA_def_struct_ui_text(srna, "Spot Lamp", "Directional cone lamp");




More information about the Bf-blender-cvs mailing list