diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-01 21:15:23 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-01 21:15:23 +0400 |
commit | 022a343223be895c4dfab63af28ed0a2b822df71 (patch) | |
tree | 9b09c9b8e8f7b718e0670f53e72936e31c05e1b1 /source/blender/makesrna/intern/rna_lamp.c | |
parent | 1525ed42c9b4d81deb686f3bdd5a5bdae70b5af2 (diff) |
Texture stack influences are now all separate values, and negative
mapped values now have their influence negated instead. Also a few
RNA changes for TextureSlot.
Bumped subversion for the version patch.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lamp.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index df04fe87bc5..4315a118c84 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -185,7 +185,7 @@ static void rna_def_lamp_mtex(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_Lamp_update"); prop= RNA_def_property(srna, "shadow_factor", PROP_FLOAT, PROP_NONE); - RNA_def_property_float_sdna(prop, NULL, "colfac"); + RNA_def_property_float_sdna(prop, NULL, "shadowfac"); RNA_def_property_ui_range(prop, 0, 1, 10, 3); RNA_def_property_ui_text(prop, "Shadow Factor", "Amount texture affects shadow."); RNA_def_property_update(prop, 0, "rna_Lamp_update"); |