Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-17 22:34:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-17 22:40:18 +0400
commita861e5572a70111bbe3ae84d82595eddc43b7d88 (patch)
tree67a40a99d66eba461db26f8a56f302798293e42e /source/blender/editors/util/ed_util.c
parentec4e12d9a2f080aa7dfdd7375288f1804de1224d (diff)
UI: Add theme color for viewport overlay
Was using wire or black in many places, this color is used for cursor, camera guides, transform helper lines. So its possible to have a dark background with light overlay color. Patch D331 by Brita, with some edits.
Diffstat (limited to 'source/blender/editors/util/ed_util.c')
-rw-r--r--source/blender/editors/util/ed_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index b490d81761c..246094a337a 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -290,7 +290,7 @@ void ED_region_draw_mouse_line_cb(const bContext *C, ARegion *ar, void *arg_info
const int mval_dst[2] = {win->eventstate->x - ar->winrct.xmin,
win->eventstate->y - ar->winrct.ymin};
- UI_ThemeColor(TH_WIRE);
+ UI_ThemeColor(TH_VIEW_OVERLAY);
setlinestyle(3);
glBegin(GL_LINE_STRIP);
glVertex2iv(mval_dst);