[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55061] trunk/blender/source/blender/ editors/sculpt_paint/paint_cursor.c: Fix cursor display for anchored brushes due to own recent change of

Antony Riakiotakis kalast at gmail.com
Tue Mar 5 21:25:09 CET 2013


Revision: 55061
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55061
Author:   psy-fi
Date:     2013-03-05 20:25:08 +0000 (Tue, 05 Mar 2013)
Log Message:
-----------
Fix cursor display for anchored brushes due to own recent change of
paint coordinate system.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c	2013-03-05 18:05:18 UTC (rev 55060)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c	2013-03-05 20:25:08 UTC (rev 55061)
@@ -590,8 +590,8 @@
 
 		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];
 		}
 	}
 




More information about the Bf-blender-cvs mailing list