[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30865] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: == Sculpt ==
Nicholas Bishop
nicholasbishop at gmail.com
Thu Jul 29 07:16:43 CEST 2010
Revision: 30865
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30865
Author: nicholasbishop
Date: 2010-07-29 07:16:42 +0200 (Thu, 29 Jul 2010)
Log Message:
-----------
== Sculpt ==
* Changed rotation brush to not scale down the rotation angle; easier to control this way (and works the same as anchored brush rotation.)
Note: rotate brush seems to work much better with USE_ORIGINAL_NORMAL, this should probably be made the default, if not forced on.
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-07-29 05:08:15 UTC (rev 30864)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-07-29 05:16:42 UTC (rev 30865)
@@ -3125,7 +3125,7 @@
dx = cache->mouse[0] - cache->initial_mouse[0];
dy = cache->mouse[1] - cache->initial_mouse[1];
- cache->vertex_rotation = -atan2(dx, dy) / 4.0f;
+ cache->vertex_rotation = -atan2(dx, dy);
sd->draw_anchored = 1;
copy_v2_v2(sd->anchored_initial_mouse, cache->initial_mouse);
More information about the Bf-blender-cvs
mailing list