app: Don't mark coord done untill its actually been painted
This commit is contained in:
@ -755,13 +755,14 @@ gimp_brush_core_interpolate (GimpPaintCore *paint_core,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gimp_paint_core_set_current_coords (paint_core, ¤t_coords);
|
gimp_paint_core_set_current_coords (paint_core, ¤t_coords);
|
||||||
gimp_paint_core_set_last_coords (paint_core, ¤t_coords);
|
|
||||||
|
|
||||||
paint_core->distance = initial + t * dist;
|
paint_core->distance = initial + t * dist;
|
||||||
paint_core->pixel_dist = pixel_initial + t * pixel_dist;
|
paint_core->pixel_dist = pixel_initial + t * pixel_dist;
|
||||||
|
|
||||||
gimp_paint_core_paint (paint_core, drawable, paint_options,
|
gimp_paint_core_paint (paint_core, drawable, paint_options,
|
||||||
GIMP_PAINT_STATE_MOTION, time);
|
GIMP_PAINT_STATE_MOTION, time);
|
||||||
|
|
||||||
|
gimp_paint_core_set_last_coords (paint_core, ¤t_coords);
|
||||||
}
|
}
|
||||||
|
|
||||||
current_coords.x = last_coords.x + delta_vec.x;
|
current_coords.x = last_coords.x + delta_vec.x;
|
||||||
|
Reference in New Issue
Block a user