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
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2013-12-06 01:06:41 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-12-06 01:12:32 +0400
commit39fd299498a6315ca854732fa3c827fe27443c0f (patch)
tree878cc76ba0f56c85b4327c1888380762fcda54ab /source
parent3f82e829e5e014002913181e4738367d96af34b7 (diff)
Forgot to theme-ify color of shadow UVs (color used to draw uvs during
image painting)
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/uvedit/uvedit_draw.c2
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c
index d20ef0e70e0..d8529823a9c 100644
--- a/source/blender/editors/uvedit/uvedit_draw.c
+++ b/source/blender/editors/uvedit/uvedit_draw.c
@@ -141,7 +141,7 @@ static void draw_uvs_shadow(Object *obedit)
const int cd_loop_uv_offset = CustomData_get_offset(&bm->ldata, CD_MLOOPUV);
/* draws the gray mesh when painting */
- glColor3ub(112, 112, 112);
+ UI_ThemeColor(TH_UV_SHADOW);
BM_ITER_MESH (efa, &iter, bm, BM_FACES_OF_MESH) {
glBegin(GL_LINE_LOOP);
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index c2f159356b3..b65c7c1bc46 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -286,8 +286,8 @@ typedef struct ThemeSpace {
char preview_stitch_unstitchable[4];
char preview_stitch_active[4];
- char uv_shadow[4];
- char uv_others[4];
+ char uv_shadow[4]; /* two uses, for uvs with modifier applied on mesh and uvs during painting */
+ char uv_others[4]; /* uvs of other objects */
char match[4]; /* outliner - filter match */
char selected_highlight[4]; /* outliner - selected item */