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>2009-08-16 08:59:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-08-16 08:59:11 +0400
commit128cf1522453c8f800d31fd663ac9027f56ec151 (patch)
treede00474b0d1a1bf519525a626dd81eb73924b673 /source/blender/makesrna
parentb1166492e2921feba2d2bd2e77ce492507600ad7 (diff)
missing args for rna funciton. comment on rna leak with type registering that I haven't been able to fix yet.
Diffstat (limited to 'source/blender/makesrna')
-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 239055f6416..6f0a19b7aa9 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1209,7 +1209,7 @@ void RNA_def_material(BlenderRNA *brna)
prop= RNA_def_property(srna, "emit", PROP_FLOAT, PROP_NONE);
RNA_def_property_range(prop, 0, FLT_MAX);
- RNA_def_property_ui_range(prop, 0, 2.0f);
+ RNA_def_property_ui_range(prop, 0, 2.0f, 10, 2);
RNA_def_property_ui_text(prop, "Emit", "Amount of light to emit.");
RNA_def_property_update(prop, NC_MATERIAL|ND_SHADING, NULL);