Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-02 10:34:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-02 10:34:04 +0400
commitdb1b74654bc7e268a310a75c64cdee5b53358001 (patch)
tree4e33b6c57abfe08f771b37bc7d65f307876e0a78 /source/blender/makesrna/intern/rna_material.c
parent734b7b969db315f5ab548b5a8104fc35f29d0f51 (diff)
- spec hardness was missing redraw update
- missed rna rename in image ui - use BLI_math functions in gpu_draw.c (no functional changes)
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r--source/blender/makesrna/intern/rna_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 229fbb91187..bf4a958eeb4 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1383,7 +1383,7 @@ static void rna_def_material_specularity(StructRNA *srna)
RNA_def_property_int_sdna(prop, NULL, "har");
RNA_def_property_range(prop, 1, 511);
RNA_def_property_ui_text(prop, "Specular Hardness", "");
- RNA_def_property_update(prop, 0, "rna_Material_update");
+ RNA_def_property_update(prop, 0, "rna_Material_draw_update");
prop= RNA_def_property(srna, "specular_ior", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "refrac");