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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-13 15:38:00 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-13 15:38:00 +0300
commit6ca3b4a441584d92e3d5bd8e2d5ed801cc6050ce (patch)
treef05bf1276a0003d0f9bc04bce6bee2a162d30fbe /source/blender/src/drawobject.c
parent733f65cb537c283385f5d676bf4436cf03227307 (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.c6
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 */