From 39cccd2a90a9ba45b68ee1b412b3f0fccf48a03e Mon Sep 17 00:00:00 2001 From: Daniel Salazar Date: Thu, 11 Feb 2010 17:41:17 +0000 Subject: [PATCH] Line up RNA property with the rest of space --- release/scripts/ui/space_userpref.py | 2 +- source/blender/makesrna/intern/rna_userdef.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index 142252129c4..3facd92654a 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -950,7 +950,7 @@ class USERPREF_PT_theme(bpy.types.Panel): prefs = theme.console col = split.column() - col.prop(prefs, "background") + col.prop(prefs, "back") col.prop(prefs, "header") col = split.column() diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index e14da344889..eff40cdbb36 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -987,12 +987,6 @@ static void rna_def_userdef_theme_space_console(BlenderRNA *brna) RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Line Error", ""); RNA_def_property_update(prop, 0, "rna_userdef_update"); - - prop= RNA_def_property(srna, "background", PROP_FLOAT, PROP_COLOR); - RNA_def_property_float_sdna(prop, NULL, "back"); - RNA_def_property_array(prop, 3); - RNA_def_property_ui_text(prop, "Window Background", ""); - RNA_def_property_update(prop, 0, "rna_userdef_update"); } static void rna_def_userdef_theme_space_info(BlenderRNA *brna)