"Close gap" in Fill tool

Hi all! I’m very pleased to announce that the gap closing patch has been accepted to master today.

As usual, big thanks to @dkazakov for the review and many others for valuable comments.

We had to make some compromises and the feature is certainly not perfect, but it’s a start. I hope it will already be useful to everyone who’s been waiting for it for so long :smiling_face_with_tear:

Here are the temporary builds from master. Eventually, they will be available in Nightly builds (um, when they get restored!).

Again, the current features are:

  • gap closing up to 32 pixels - larger gaps will be ignored (check the resolution!)
  • only the bucket fill and magic wand selection tools are supported (i.e. no enclose and fill)
  • look in the UI for a “Close Gap” slider. Values larger than 0 will attempt to close gaps. Set it back to 0 if you don’t need this feature, as it comes with a performance penalty.
    image

If you have a chance to test it and run into a problem, feel free to tag me in your post. I hope we didn’t miss any bugs in the last minute as this one did see a significant churn over time…

Thank you! :partying_face:

Congratulations! This is a historical day for Krita :partying_face: :smiley:

Thank you so much for working on this feature :heart_eyes:

It works perfectly!, plus it works pretty fast.
Thank you so much! :sob:

Congratulations :partying_face: :tada:

@SchrodingerCat Wow. Can’t wait to try it out.

Krita 5.3 is shaping up to be an awesome release.
So many good features coming in.

Congratulations, @YRH. Thank you for all your hard work and determination.

Congratulations! :tada: It works really well and performances are good. :+1:

Quality of life for sure :smiley:
Honestly I think the gap to match CSP is smaller and smaller

I want to add here - that gap close is also now enabled in palette drag and drop ;
as seen here . So its something similar to procreate - I think. Its pretty fun.

Again thank you @YRH

I posted about this on twitter and also other MR I look forward to in 5.3 and it gather alot more attention than I anticipated XD.

Congrats @YRH and thanks to everyone involved who helped to make this feature a reality!

I think we can close this feature request to release the votes

Congrats everyone.

Just want to inform that I added the close gap feature to the enclose and fill as well.