Masks painted anywhere on the canvas; mask thumbnails' ground white or black (12.12b)

This commit is contained in:
雷电芽衣 committed 2026-09-29 13:26:01 -04:00
1 parent 136ee65a48
commit f335818e53
20 files changed
+348 -68

No files matched your search

+2 -1
View File
@@ -86,7 +86,8 @@ void EditorSession::applyPixelEdit(const ImageLayer &layer, const QString &name,
{
finishOpacityEdit();
try {
std::unique_ptr<BrushStroke> edit = makeRasterEdit(layer);
// A fill on a mask covers the canvas too.
std::unique_ptr<BrushStroke> edit = makeRasterEdit(layer, BrushSettings(), true);
paint(*edit);
if (edit->patches().empty()) {
if (done)