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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-06 00:25:08 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-06 00:25:08 +0400
commitf5e1cde8f413795794a039c4d69fd4f86336bb3e (patch)
tree522fa14ac1940be1540512085eadc92a3e464a1d /source/blender/editors/sculpt_paint/paint_cursor.c
parentdcbee8ef07cd2325ba31e059bedeb47af52f40fb (diff)
Fix cursor display for anchored brushes due to own recent change of
paint coordinate system.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_cursor.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_cursor.c4
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];
}
}