mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
vectors: Remove debug printout when Snap to Active Path on
Resolves #13096 In5a43a464
, some debug output was added to help diagnosis a problem when Snap to Active Path was turned on. The issue seemed mostly resolved ine57ad0f8
, but the print statements were left in. This leads to slowdown when moving layers while Snap is enabled (due to the continuous print statements). As it's been 19 years since the original commit, it should be fine to remove these debug statements to boost performance.
This commit is contained in:
parent
8fd1d229dc
commit
731766e9bc
1 changed files with 0 additions and 9 deletions
|
@ -977,9 +977,6 @@ gimp_bezier_stroke_segment_nearest_tangent_get (const GimpCoords *beziercoords,
|
||||||
ret_coords = g_array_new (FALSE, FALSE, sizeof (GimpCoords));
|
ret_coords = g_array_new (FALSE, FALSE, sizeof (GimpCoords));
|
||||||
ret_params = g_array_new (FALSE, FALSE, sizeof (gdouble));
|
ret_params = g_array_new (FALSE, FALSE, sizeof (gdouble));
|
||||||
|
|
||||||
g_printerr ("(%.2f, %.2f)-(%.2f,%.2f): ", coord1->x, coord1->y,
|
|
||||||
coord2->x, coord2->y);
|
|
||||||
|
|
||||||
gimp_coords_interpolate_bezier (beziercoords, precision,
|
gimp_coords_interpolate_bezier (beziercoords, precision,
|
||||||
ret_coords, ret_params);
|
ret_coords, ret_params);
|
||||||
|
|
||||||
|
@ -1030,12 +1027,6 @@ gimp_bezier_stroke_segment_nearest_tangent_get (const GimpCoords *beziercoords,
|
||||||
ori = ori2;
|
ori = ori2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (min_dist < 0)
|
|
||||||
g_printerr ("-\n");
|
|
||||||
else
|
|
||||||
g_printerr ("%f: (%.2f, %.2f) /%.3f/\n", min_dist,
|
|
||||||
(*ret_point).x, (*ret_point).y, *ret_pos);
|
|
||||||
|
|
||||||
g_array_free (ret_coords, TRUE);
|
g_array_free (ret_coords, TRUE);
|
||||||
g_array_free (ret_params, TRUE);
|
g_array_free (ret_params, TRUE);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue