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:
Diffstat (limited to 'source/blender/src/sculptmode.c')
-rw-r--r--source/blender/src/sculptmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/sculptmode.c b/source/blender/src/sculptmode.c
index 039b43efefb..3fda71bf828 100644
--- a/source/blender/src/sculptmode.c
+++ b/source/blender/src/sculptmode.c
@@ -1191,7 +1191,7 @@ void init_brushaction(BrushAction *a, short *mouse, short *pr_mouse)
int i;
const char flip = (get_qual() == LR_SHIFTKEY);
const char anchored = sculptmode_brush()->flag & SCULPT_BRUSH_ANCHORED;
- short orig_mouse[2], dx, dy;
+ short orig_mouse[2], dx=0, dy=0;
a->flip = flip;
a->symm.index = 0;