diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-02 16:47:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-02 16:47:33 +0300 |
commit | a371f5513a749dcebe789f2e00870083f26725b4 (patch) | |
tree | 62a01872745182ae9d3e4b001a99f38c74acaeb3 /source/blender/makesrna/intern/rna_material.c | |
parent | 326b3122cf6ff2018c94ac4cdc43c21a69039ad8 (diff) |
RNA
* Added skeleton code for particle/object_force/userdef.
* More Object properties wrapped.
* Added User Preferences display in outliner.
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 26245ef3125..784ca82611a 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -64,25 +64,21 @@ static void rna_def_material_colors(StructRNA *srna, PropertyRNA *prop) RNA_def_property_float_sdna(prop, NULL, "r"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Diffuse Color", ""); - RNA_def_property_ui_range(prop, 0.0f , 1.0f, 10.0f, 3); prop= RNA_def_property(srna, "specular_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "specr"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Specular Color", ""); - RNA_def_property_ui_range(prop, 0.0f , 1.0f, 10.0f, 3); prop= RNA_def_property(srna, "mirror_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "mirr"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Mirror Color", ""); - RNA_def_property_ui_range(prop, 0.0f , 1.0f, 10.0f, 3); prop= RNA_def_property(srna, "ambient_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "ambr"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Ambient Color", ""); - RNA_def_property_ui_range(prop, 0.0f , 1.0f, 10.0f, 3); prop= RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_NONE); RNA_def_property_range(prop, 0.0f, 1.0f); |