diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-19 15:32:09 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-19 15:32:52 +0300 |
commit | ce0a87a2089c32db867930418f60ebaa7acc1604 (patch) | |
tree | 7f716d95635ce996dc05d5ff40297832e9e15d71 /source/blender/editors/interface | |
parent | 92823275af65c64e6edfeca3c513d64f5445640c (diff) |
Revert: EditMode Inactive edge drawing
Did it manually as there was some refactoring done that has value
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/resources.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 79054190686..8bd41b874f5 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -298,8 +298,6 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo cp = ts->syntaxr; break; case TH_WIRE_EDIT: cp = ts->wire_edit; break; - case TH_WIRE_INACTIVE: - cp = ts->wire_inactive; break; case TH_LAMP: cp = ts->lamp; break; case TH_SPEAKER: @@ -936,7 +934,6 @@ void ui_theme_init_default(void) rgba_char_args_set(btheme->tv3d.view_overlay, 0, 0, 0, 255); rgba_char_args_set(btheme->tv3d.wire, 0x0, 0x0, 0x0, 255); rgba_char_args_set(btheme->tv3d.wire_edit, 0x0, 0x0, 0x0, 255); - rgba_char_args_set(btheme->tv3d.wire_inactive, 32, 32, 32, 255); rgba_char_args_set(btheme->tv3d.lamp, 0, 0, 0, 40); rgba_char_args_set(btheme->tv3d.speaker, 0, 0, 0, 255); rgba_char_args_set(btheme->tv3d.camera, 0, 0, 0, 255); @@ -3050,17 +3047,6 @@ void init_userdef_do_versions(Main *bmain) } } - for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) { - ThemeSpace *ts; - - for (ts = UI_THEMESPACE_START(btheme); ts != UI_THEMESPACE_END(btheme); ts++) { - if (btheme->tv3d.wire_inactive[3] == 0) { - rgba_char_args_set(btheme->tv3d.wire_inactive, 32, 32, 32, 255); - } - } - } - - if (U.pixelsize == 0.0f) U.pixelsize = 1.0f; |