mypaint / libmypaint

libmypaint, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects.
http://mypaint.org
Other
307 stars 87 forks source link

Fix off by one error when clearing smudge buckets #186

Closed askmeaboutlo0m closed 1 month ago

askmeaboutlo0m commented 2 years ago

The max_buckets_used value is inclusive, so an additional +1 is necessary to clear the last used bucket.