GNOME Bugzilla – Bug 304381
gimp_path_get_points fails if path has more than one unclosed "path"
Last modified: 2008-01-15 12:54:24 UTC
Distribution/Version: Gentoo * New image * Select Path tool * Make two unconnected, non-closed paths (in the same path) * Call: pdb.gimp_path_get_points(imgid, currentpath) (from python, don't know if this is a problem when writing plugins in c/perl/script-fu)
plugins written in C also fail. Here is the output, both from python, and from the C-plugin: (gimp-2.2:27902): Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points(): convert failed Traceback (most recent call last):
+ Trace 59754
res = _interact(func_name, start_params)
return run_script([])
return apply(function, params)
python_bezier_edge_undowrapped(timg, tdraw)
point_info = pdb.gimp_path_get_points(timg, path_name)
(gimp-2.2:27902): Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points(): convert failed /home/emanuel/.gimp-2.2/plug-ins/gimp-plugin-path-grow: fatal error: Segmentation fault
Yes, known problem. The ancient API for paths does not support multiple unconnected open strokes, the API needs to be redone. This is a duplicate of bug #129598 *** This bug has been marked as a duplicate of 129598 ***