12.1: feathered selections, Select Subject, Soft Light, the fixed-width font menu (Compositor 1.1.1–1.1.4)
This commit is contained in:
1 parent
3e52fd90ee
commit
ee34c338d4
42 files changed
+1087
-94
No files matched your search
@@ -234,7 +234,7 @@ PixelMove::PixelMove(std::shared_ptr<BrushStroke> raster, DocumentSelection orig
|
||||
|
||||
DocumentSelection PixelMove::movedSelection() const
|
||||
{
|
||||
return DocumentSelection{QTransform::fromTranslate(offset.width(), offset.height()).map(origin.path), origin.antialiased};
|
||||
return DocumentSelection{QTransform::fromTranslate(offset.width(), offset.height()).map(origin.path), origin.antialiased, origin.feather};
|
||||
}
|
||||
|
||||
// Ctrl-drag: starts moving the selected pixels; false with none.
|
||||
@@ -292,7 +292,7 @@ std::optional<DocumentSelection> EditorSession::displayedSelection() const
|
||||
const std::optional<DocumentSelection> current = selection();
|
||||
if (m_transformEdit && current) {
|
||||
if (const std::optional<QTransform> matrix = floatingSelectionTransform(*m_transformEdit))
|
||||
return DocumentSelection{matrix->map(current->path), current->antialiased};
|
||||
return DocumentSelection{matrix->map(current->path), current->antialiased, current->feather};
|
||||
}
|
||||
return current;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user