diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 5dd69cdf030..4f38e1e0c84 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -860,7 +860,7 @@ void sample_wpaint(Scene *scene, ARegion *ar, View3D *v3d, int mode) Object *ob= OBACT; Mesh *me= get_mesh(ob); int index; - short mval[2], sco[2]; + short mval[2] = {0, 0}, sco[2]; if (!me) return; |