- 23 Jan, 2019 3 commits
-
-
Jehan authored
When a fill zone was a bit too segmented, you'd want to just stroke across it. But it was leaving some pieces uncolored, even though the pointer dragged through it! The exact motion mode allows more events. Note: I don't set it in the similar color filling (where it could have been useful too) mostly because it is harder to remove events then (even if a point was already filled, it could still serve as a seed for more filling if threshold > 0), thus implied too much processing. Anyway in all my tests, it was more a problem for line art filling anyway. (cherry picked from commit 9c13058d)
-
Ryuta Fujii authored
- 22 Jan, 2019 7 commits
-
-
Anders Jonsson authored
-
Anders Jonsson authored
-
Alexandre Prokoudine authored
-
Alan01 authored
-
Alan01 authored
-
Alan01 authored
-
Ryuta Fujii authored
-
- 21 Jan, 2019 2 commits
-
-
Alan01 authored
- 20 Jan, 2019 6 commits
-
-
Michael Natterer authored
Add a Sample Merged option to smudge, a lot like for heal, just needed tweaking in more places. (cherry picked from commit 34cad3a0)
-
Jehan authored
-
Jehan authored
We were doing it all the wrong way, fixing one combo box object at a time. So this commit basically reverses commits 68a33ab5, 6dfca83c and a9a979b2 and instead runs the same code in the class code. This way, all objects based on these base classes will have the fix from scratch. These improved various other drop-down lists (I found some of them, and probably not all) as I fixed all GIMP custom widgets based on GtkComboBox. Note that it has to be run after filling the list apparently (I had the problem especially with GimpIntComboBox if running in the _init() code, then the list widget showed wrong). (cherry picked from commit 1d984542)
-
- 19 Jan, 2019 2 commits
-
-
oschlueter authored
-
Michael Natterer authored
gimp_heal_motion(): when sample merged is active, simply initialize the paint buffer from the projection instead of the drawable. (cherry picked from commit e269a837)
-
- 18 Jan, 2019 1 commit
-
-
Ryuta Fujii authored
-
- 17 Jan, 2019 8 commits
-
-
Ell authored
When clearing a channel, do nothing if the channel is already empty; otherwise, align the cleared rectangle to the channel buffer's tile grid, so that all affected tiles are dropped, rather than zeroed. Furthermore, only update the affected region of the channel. (cherry picked from commit ac5e4f4c)
-
Jehan authored
After discussion with Sébastien Fourey and David Tschumperlé, it was decided that a better fix for the edge case raised in #2785 was to add a keypoint anyway, even if the point and none of its neigbours have a positive smoothed curvature, yet they have a positive raw curvature. In such case, we use the local maximum raw curvature instead of the local maximum smoothed curvature. (cherry picked from commit aa042586)
-
Piotr Drąg authored
-
- 16 Jan, 2019 4 commits
-
-
sabri ünal authored
(cherry picked from commit 76302b66)
-
Marco Ciampa authored
-
- 15 Jan, 2019 4 commits
-
-
Jehan authored
Additionally to sample merge and active layer, now we can only use the layer above or below the active layer as line art source. The line art fill is meant to work on drawing lines. Though sample merge still is ok in many cases, the more you fill with colors, the more the line art computation becomes unecessarily complex. Also when you use a lot of layers with some of them already filled with colors, it makes it impossible to colorize some line art zones with the tool. Moreover you just don't want to have to hide every layers out there to colorize one layer (especially background layers and such as you may want to see the result with your background). Thus we want to be able to set the source as a unique layer, while it not being necessarily the active one (because you want lines and colors on different layers). In this case, I am assuming that the color and the line layers are next to each other (most common organization). (cherry picked from commit c71b4916)
-
Ryuta Fujii authored
-
Ell authored
In GimpTileBackendPlugin, change the default tile multiplier, specifying the ratio between the backend tile-size, and GIMP's tile-size, from 2 to 1. Since we're reading/writing each GIMP tile using a separate command anyway, using a large multiplier doesn't provide any benefits, while it does have drawbacks. In particular, it reduces the chance that a write operation will affect an entire tile, which allows us to avoid reading the tile data from GIMP. (cherry picked from commit a5e2945b)
-
Ell authored
Add an internal _gimp_tile_ref_noinit() function, which increases the ref-count of a tile *without* initializing its data (in particular, without reading its data from GIMP, or zeroing it.) Use this function, instead of gimp_tile_ref(), when storing a tile in GimpTileBackendPlugin, to avoid unnecessarily reading the tile data from GIMP. (cherry picked from commit 5ffdb9aa)
-
- 14 Jan, 2019 2 commits
-
-
Ryuta Fujii authored
-
Rodrigo Lledó Milanca authored
-
- 13 Jan, 2019 1 commit
-
-
Marco Ciampa authored
-