-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add DocumentMode groundwork with MaskMode and Q toggle #4001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
f122517
268ec73
49807ad
a97d49d
3fde8bb
5b1ca12
cbb615e
5ca8e96
74c2bb4
24f1b1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -439,6 +439,18 @@ impl MessageHandler<GraphOperationMessage, GraphOperationMessageContext<'_>> for | |
| // (skipped automatically when identity, so file-open with content at origin creates no Transform node). | ||
| modify_inputs.transform_set(placement_transform, TransformIn::Local, false); | ||
| } | ||
| GraphOperationMessage::ApplyMaskStencil { layers, mask_group } => { | ||
| let _ = mask_group; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Prompt for AI agents |
||
|
|
||
| // TODO: Rasterize `mask_group` into a stencil image and apply that stencil to each target layer. | ||
| // For each target layer, toggle clip mode so the existing clip infrastructure is engaged. | ||
| for layer in layers { | ||
| responses.add(GraphOperationMessage::ClipModeToggle { layer }); | ||
|
krVatsal marked this conversation as resolved.
|
||
| } | ||
| responses.add(NodeGraphMessage::RunDocumentGraph); | ||
| responses.add(NodeGraphMessage::SelectedNodesUpdated); | ||
| responses.add(NodeGraphMessage::SendGraph); | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.