diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-11 10:41:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-11 10:41:09 +0400 |
commit | 5fdbfbaf3af05b78ed5b7376c63f310134c24b58 (patch) | |
tree | 2977d2042493620e3e19aba419d3aae656f1bdd0 /source/blender/editors/space_view3d | |
parent | 5184476fe1bd6c61a50a047bdba1f4b9756f323c (diff) |
replace magic numbers for flags for uiSetRoundBox();
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index dc1252b8530..ba9faf7682e 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -485,8 +485,8 @@ static void drawfloor(Scene *scene, View3D *v3d, const char **grid_unit) if(is_emphasise != prev_emphasise) { glColor3ubv(is_emphasise ? col_grid_emphasise : col_grid_light); + prev_emphasise= is_emphasise; } - prev_emphasise= is_emphasise; /* set variable axis */ vert[0][1]= vert[1][1]= @@ -1206,7 +1206,7 @@ static void drawviewborder(Scene *scene, ARegion *ar, View3D *v3d) UI_ThemeColorBlendShade(TH_WIRE, TH_BACK, 0.25, 0); - uiSetRoundBox(15); + uiSetRoundBox(UI_CNR_ALL); uiDrawBox(GL_LINE_LOOP, x1, y1, x2, y2, 12.0); } } |