Fixes for RNA Renaming in Texture Properties (Volume Material)

This commit is contained in:
Thomas Dinges 2010-08-31 14:54:04 +00:00
parent 26da3cb99f
commit a51f31e9a5
2 changed files with 3 additions and 3 deletions

@ -362,8 +362,8 @@ class TEXTURE_PT_influence(TextureSlotPanel, bpy.types.Panel):
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=" ")

@ -571,7 +571,7 @@ static void rna_def_material_mtex(BlenderRNA *brna)
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");