Line up RNA property with the rest of space
authorDaniel Salazar <zanqdo@gmail.com>
Thu, 11 Feb 2010 17:41:17 +0000 (17:41 +0000)
committerDaniel Salazar <zanqdo@gmail.com>
Thu, 11 Feb 2010 17:41:17 +0000 (17:41 +0000)
release/scripts/ui/space_userpref.py
source/blender/makesrna/intern/rna_userdef.c

index 142252129c4bb3052d0d3be621bcf4990829bb42..3facd92654a00ee2079366522c6ed2903a2b6f3b 100644 (file)
@@ -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()
index e14da34488943db0ad2941e8083e46beafa3d234..eff40cdbb36df5ab3d3e66ba2b659ee23dae4043 100644 (file)
@@ -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)