diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-03-06 00:25:08 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-03-06 00:25:08 +0400 |
commit | f5e1cde8f413795794a039c4d69fd4f86336bb3e (patch) | |
tree | 522fa14ac1940be1540512085eadc92a3e464a1d /source/blender | |
parent | dcbee8ef07cd2325ba31e059bedeb47af52f40fb (diff) |
Fix cursor display for anchored brushes due to own recent change of
paint coordinate system.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index a45f9a2d4f6..bf6ad32efc1 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -590,8 +590,8 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused)) if (ups->draw_anchored) { final_radius = ups->anchored_size; - translation[0] = ups->anchored_initial_mouse[0] - vc.ar->winrct.xmin; - translation[1] = ups->anchored_initial_mouse[1] - vc.ar->winrct.ymin; + translation[0] = ups->anchored_initial_mouse[0]; + translation[1] = ups->anchored_initial_mouse[1]; } } |