[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27902] branches/render25: Render Branch: Fix ward isotropic slope option not showing in UI.
Brecht Van Lommel
brecht at blender.org
Wed Mar 31 15:31:35 CEST 2010
Revision: 27902
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27902
Author: blendix
Date: 2010-03-31 15:31:35 +0200 (Wed, 31 Mar 2010)
Log Message:
-----------
Render Branch: Fix ward isotropic slope option not showing in UI.
Modified Paths:
--------------
branches/render25/release/scripts/ui/properties_material.py
branches/render25/source/blender/makesrna/intern/rna_material.c
Modified: branches/render25/release/scripts/ui/properties_material.py
===================================================================
--- branches/render25/release/scripts/ui/properties_material.py 2010-03-31 12:35:05 UTC (rev 27901)
+++ branches/render25/release/scripts/ui/properties_material.py 2010-03-31 13:31:35 UTC (rev 27902)
@@ -448,7 +448,7 @@
if wide_ui:
col = split.column()
col.prop(mat, "specular_ior", text="IOR")
- elif mat.specular_shader == 'WARDISO':
+ elif mat.specular_shader == 'WARD_ISOTROPIC':
col.prop(mat, "specular_slope", text="Slope")
elif mat.specular_shader == 'TOON':
split = layout.split()
Modified: branches/render25/source/blender/makesrna/intern/rna_material.c
===================================================================
--- branches/render25/source/blender/makesrna/intern/rna_material.c 2010-03-31 12:35:05 UTC (rev 27901)
+++ branches/render25/source/blender/makesrna/intern/rna_material.c 2010-03-31 13:31:35 UTC (rev 27902)
@@ -1310,7 +1310,7 @@
{MA_SPEC_PHONG, "PHONG", 0, "Phong", ""},
{MA_SPEC_BLINN, "BLINN", 0, "Blinn", ""},
{MA_SPEC_TOON, "TOON", 0, "Toon", ""},
- {MA_SPEC_WARDISO, "WARD_ISO", 0, "Ward Isotropic", ""},
+ {MA_SPEC_WARDISO, "WARD_ISOTROPIC", 0, "Ward Isotropic", ""},
{0, NULL, 0, NULL, NULL}};
prop= RNA_def_property(srna, "specular_shader", PROP_ENUM, PROP_NONE);
More information about the Bf-blender-cvs
mailing list