diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-09 01:58:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-09 01:58:00 +0400 |
commit | 820acf1b9eee10e4efd6929b7ca05417611c5f1a (patch) | |
tree | 027de792f0f06e3244ce2ce999768b40849515b0 /source/blender/makesrna/intern/rna_userdef.c | |
parent | b0d5555a064dedf00c1a6605f8f501fc25978641 (diff) |
add editmode wire color,
also changed lattice to use this, it used a hard-coded green color which was hard to see over the default background.
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 181456c6f4e..14aa6631d1f 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -1418,6 +1418,11 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Wire", ""); RNA_def_property_update(prop, 0, "rna_userdef_update"); + prop = RNA_def_property(srna, "wire_edit", PROP_FLOAT, PROP_COLOR_GAMMA); + RNA_def_property_array(prop, 3); + RNA_def_property_ui_text(prop, "Wire Edit", ""); + RNA_def_property_update(prop, 0, "rna_userdef_update"); + prop = RNA_def_property(srna, "lamp", PROP_FLOAT, PROP_COLOR_GAMMA); RNA_def_property_array(prop, 4); RNA_def_property_ui_text(prop, "Lamp", ""); |