Repository navigation
New nodes: 'Drop Shadow', 'Inner Shadow', and 'Outer Glow'; make the 'Blur' node work on any graphic #4976
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?
New nodes: 'Drop Shadow', 'Inner Shadow', and 'Outer Glow'; make the 'Blur' node work on any graphic #4976
Changes from all commits
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 |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| https://github.com/Keavon/graphite-branded-assets/archive/70b260c21afad29140bbc63ddab952fec3dd024c.tar.gz | ||
| 5b05e7f4449b5f962755542e9b156891bbf2e0a87b7fc90798b8352d9225757d | ||
| https://github.com/Keavon/graphite-branded-assets/archive/38176c494d7cf0bde3bdf45e6a318ae6a9d89229.tar.gz | ||
| 2ae24506ff786b2b684f5d23bd326a69f5f4551855f19e4ef2b0324f9ec14e5d |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| //! Migrations of the nodes in `blending_nodes`. | ||
| mod renames; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| //! Nodes that only moved to a new identifier. | ||
| use migration_core::rename; | ||
|
|
||
| rename!("raster_nodes::filter::BlurNode"@1 => "blending_nodes::effects::BlurNode"@2); |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -200,4 +200,9 @@ impl NodeNetworkInterface { | |||||||
| pub fn update_appearance_attributes(&mut self, new_layer_appearance_attributes: HashMap<LayerNodeIdentifier, Arc<Appearance>>) { | ||||||||
| self.document_metadata.layer_appearance_attributes = new_layer_appearance_attributes; | ||||||||
| } | ||||||||
|
|
||||||||
| /// Update how far each layer's effects paint past its content. | ||||||||
| pub fn update_effects_reach(&mut self, new_layer_effects_reach: HashMap<LayerNodeIdentifier, f64>) { | ||||||||
| self.document_metadata.layer_effects_reach = new_layer_effects_reach; | ||||||||
|
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
Suggested change
|
||||||||
| } | ||||||||
| } | ||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2:
UpdateEffectsReachis an internal render-output message but lacks#[serde(skip)], so serialized JS inputs can forge arbitrary effect extents and alter export bounds. Mark this variant as skipped like the two internal metadata-update variants above.Prompt for AI agents