Re: [Gimp-user] Bug in "arrow" plugin, possible bug with tear-off menus



On 12/20/2016 08:11 AM, programmer_ceds wrote:
Hi Mark and Helmut,

I have made the following changes:

Corrected the drawing of arrow heads at the end of paths that have more than
2 points

Thanks!


Added extra controls to determine whether the wing length and brush thickness
are related to the path
length or in absolute pixels. This is instead of using negative numbers
for relative settings and
      positive numbers for absolute pixel values.

Perfect! The old way was usable, but not user-friendly to non-programmers. :)


The warning about paths with more than 2 points is now only given once
following an activation of GIMP
       or a refresh of the Script-Fu scripts

Very nice!


Please let me know if there are any problems.

Looks good for me here on 2.8.16/Linux.

I thought I had a case where turning on "Curved arrow wings?" worked on a highly curved, multiple-point path with the last point's tangent handles moved around, but when that toggle was off the non-curved end arrow was at a funny orientation. But I couldn't recreate it later, so maybe it was user error. If it shows up again I'll try to capture it and send you an .xcf file.

Also, I like to run the script with "Use new layer for arrow?" turned off, and "Delete path after arrow was drawn?" turned on. That works perfectly (the path is removed from the Paths dialog box). But if I don't like the results and do Edit -> Undo Arrow, the arrow is removed from the image and the path returns to the Path dialog as the selected path, but the it (points, handles, path) isn't visible in the image window, and "Selection From Path" and "Stroke Path" are grayed-out/inactive in the Toolbox dialog. Even selecting other paths doesn't make them visible or "stroke-able". At that point creating a new path behaves normally, and the Paths dialog can then be used to switch back and forth between any of the paths and they become visible/editable/stroke-able as they are selected. It's not that big a problem, and the original script does the same thing. Maybe some problem with gimp-image-undo-group-start/-end, or a bug in the internal implementation of those methods.

Sorry for too many details, but I thought I'd describe what I found in my testing. Once again, thanks for all the work you've put into this very useful script.







--
MARK
markrubn yahoo com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]