[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31676] trunk/blender: Fixes for RNA Renaming in Texture Properties (Volume Material)

Thomas Dinges dingto at gmx.de
Tue Aug 31 16:54:05 CEST 2010


Revision: 31676
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31676
Author:   dingto
Date:     2010-08-31 16:54:04 +0200 (Tue, 31 Aug 2010)

Log Message:
-----------
Fixes for RNA Renaming in Texture Properties (Volume Material)

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_texture.py
    trunk/blender/source/blender/makesrna/intern/rna_material.c

Modified: trunk/blender/release/scripts/ui/properties_texture.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_texture.py	2010-08-31 14:22:00 UTC (rev 31675)
+++ trunk/blender/release/scripts/ui/properties_texture.py	2010-08-31 14:54:04 UTC (rev 31676)
@@ -362,8 +362,8 @@
                 col = split.column()
                 factor_but(col, tex.use_map_density, "use_map_density", "density_factor", "Density")
                 factor_but(col, tex.use_map_emission, "use_map_emission", "emission_factor", "Emission")
-                factor_but(col, tex.use_map_scatter, "use_map_scattering", "scattering_factor", "Scattering")
-                factor_but(col, tex.use_map_reflect, "use_map_reflection", "reflection_factor", "Reflection")
+                factor_but(col, tex.use_map_scatter, "use_map_scatter", "scattering_factor", "Scattering")
+                factor_but(col, tex.use_map_reflect, "use_map_reflect", "reflection_factor", "Reflection")
 
                 col = split.column()
                 col.label(text=" ")

Modified: trunk/blender/source/blender/makesrna/intern/rna_material.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_material.c	2010-08-31 14:22:00 UTC (rev 31675)
+++ trunk/blender/source/blender/makesrna/intern/rna_material.c	2010-08-31 14:54:04 UTC (rev 31676)
@@ -571,7 +571,7 @@
 	RNA_def_property_ui_text(prop, "Reflection", "Causes the texture to affect the reflected light's brightness");
 	RNA_def_property_update(prop, NC_TEXTURE, NULL);
 	
-	prop= RNA_def_property(srna, "color_emission_factor", PROP_FLOAT, PROP_NONE);
+	prop= RNA_def_property(srna, "emission_color_factor", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "colemitfac");
 	RNA_def_property_ui_range(prop, 0, 1, 10, 3);
 	RNA_def_property_ui_text(prop, "Emission Color Factor", "Amount texture affects emission color");





More information about the Bf-blender-cvs mailing list