Magic tool Object mode (Compositor 1.1.8)

This commit is contained in:
雷电芽衣 committed 2026-09-26 23:24:35 -04:00
1 parent 78bfa2445d
commit 3d56688ce4
39 files changed
+1193 -134

No files matched your search

+3 -1
View File
@@ -3,6 +3,8 @@ public:
// Off the UI thread; `done` follows the step or refusal.
void magicWand(QPointF point, SelectionMode mode, std::function<void()> done = {});
// What selection-from-image tools read, at document size.
std::optional<QImage> selectionSample(const CanvasDocument &document, bool sampleAllLayers) const;
private:
void finishWand();
std::optional<QImage> wandSample(const CanvasDocument &document) const;