diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-13 15:38:00 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-13 15:38:00 +0300 |
commit | 6ca3b4a441584d92e3d5bd8e2d5ed801cc6050ce (patch) | |
tree | f05bf1276a0003d0f9bc04bce6bee2a162d30fbe /source/blender/src/drawobject.c | |
parent | 733f65cb537c283385f5d676bf4436cf03227307 (diff) |
Fix for use of uninitialized value in active edge drawing.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index b71ef3331db..260b0ab6656 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -1766,9 +1766,9 @@ static void draw_em_fancy_edges(DerivedMesh *cageDM, short sel_only, EditEdge *e unsigned char wireCol[4], selCol[4], actCol[4]; /* since this function does transparant... */ - BIF_GetThemeColor3ubv(TH_EDGE_SELECT, (char *)selCol); - BIF_GetThemeColor3ubv(TH_WIRE, (char *)wireCol); - BIF_GetThemeColor3ubv(TH_EDITMESH_ACTIVE, (char *)actCol); + BIF_GetThemeColor4ubv(TH_EDGE_SELECT, (char *)selCol); + BIF_GetThemeColor4ubv(TH_WIRE, (char *)wireCol); + BIF_GetThemeColor4ubv(TH_EDITMESH_ACTIVE, (char *)actCol); /* when sel only is used, dont render wire, only selected, this is used for * textured draw mode when the 'edges' option is disabled */ |