diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-22 13:41:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-22 13:41:41 +0400 |
commit | ffb8ac01a262e8f81e4cf2730e8b81ccdad077ed (patch) | |
tree | 50164a24cd3b1c43d9c720949c02b7da1542a05f /source/blender/makesrna/intern/rna_lamp.c | |
parent | 53c1b562af9a0c8f66ae9f406fa2b50aee32a569 (diff) |
remove scriptlinks,
they were not working and we have plans for better script integration in 2.5
Diffstat (limited to 'source/blender/makesrna/intern/rna_lamp.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index fe14870cf6f..b8150ee3c7d 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -350,12 +350,6 @@ static void rna_def_lamp(BlenderRNA *brna) /* textures */ rna_def_mtex_common(srna, "rna_Lamp_mtex_begin", "rna_Lamp_active_texture_get", "rna_Lamp_active_texture_index_set", "LampTextureSlot"); - - /* script link */ - prop= RNA_def_property(srna, "script_link", PROP_POINTER, PROP_NEVER_NULL); - RNA_def_property_pointer_sdna(prop, NULL, "scriptlink"); - RNA_def_property_clear_flag(prop, PROP_EDITABLE); - RNA_def_property_ui_text(prop, "Script Link", "Scripts linked to this lamp."); } static void rna_def_lamp_falloff(StructRNA *srna) |