diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-03 15:23:31 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-03 15:23:31 +0400 |
commit | 8204dffe8a73271bc99eeeaeaed56ac0bed46e6a (patch) | |
tree | 12ceea62f09f9f197452e8836d30d81ec2193463 /source/blender/makesrna/intern/rna_lamp.c | |
parent | 2cbf21b58243e2ce14a1b00c7a422a6245c00954 (diff) |
UI: Bugfixes
* #19529: Saving in edit mode causes problems in mode buttons when reopening
* Fixed compiler warning in writefile for mingw
* AnimData for Lamp data was not recognised by RNA
Diffstat (limited to 'source/blender/makesrna/intern/rna_lamp.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index 4315a118c84..06fecec6fb6 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -377,7 +377,10 @@ static void rna_def_lamp(BlenderRNA *brna) RNA_def_property_boolean_negative_sdna(prop, NULL, "mode", LA_NO_DIFF); RNA_def_property_ui_text(prop, "Diffuse", "Lamp does diffuse shading."); RNA_def_property_update(prop, 0, "rna_Lamp_update"); - + + /* common */ + rna_def_animdata_common(srna); + /* textures */ rna_def_mtex_common(srna, "rna_Lamp_mtex_begin", "rna_Lamp_active_texture_get", "rna_Lamp_active_texture_set", "LampTextureSlot", "rna_Lamp_update"); |