gimp r25766 - in trunk: . app/paint
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25766 - in trunk: . app/paint
- Date: Thu, 22 May 2008 20:17:49 +0000 (UTC)
Author: mitch
Date: Thu May 22 20:17:49 2008
New Revision: 25766
URL: http://svn.gnome.org/viewvc/gimp?rev=25766&view=rev
Log:
2008-05-22 Michael Natterer <mitch gimp org>
* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate): move
generating the random axis to the right place.
Modified:
trunk/ChangeLog
trunk/app/paint/gimpbrushcore.c
Modified: trunk/app/paint/gimpbrushcore.c
==============================================================================
--- trunk/app/paint/gimpbrushcore.c (original)
+++ trunk/app/paint/gimpbrushcore.c Thu May 22 20:17:49 2008
@@ -636,6 +636,7 @@
p * delta_wheel);
paint_core->cur_coords.velocity = (paint_core->last_coords.velocity +
p * delta_velocity);
+ paint_core->cur_coords.random = g_random_double_range (0.0, 1.0);
if (core->jitter > 0.0)
{
@@ -669,7 +670,6 @@
paint_core->cur_coords.ytilt = paint_core->last_coords.ytilt + delta_ytilt;
paint_core->cur_coords.wheel = paint_core->last_coords.wheel + delta_wheel;
paint_core->cur_coords.velocity = paint_core->last_coords.velocity + delta_velocity;
- paint_core->cur_coords.random = g_random_double_range (0.0, 1.0);
paint_core->distance = total;
paint_core->pixel_dist = pixel_initial + pixel_dist;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]