Skip to content

Commit 9d80eb4

Browse files
authored
Add combined parameter to box_warp function
1 parent fa45efa commit 9d80eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-graph/nodes/vector/src/vector_nodes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ async fn extrude(_: impl Ctx, mut source: Table<Vector>, direction: DVec2, joini
785785
}
786786

787787
#[node_macro::node(category("Vector: Modifier"), path(core_types::vector))]
788-
async fn box_warp(_: impl Ctx, content: Table<Vector>, #[expose] rectangle: Table<Vector>) -> Table<Vector> {
788+
async fn box_warp(_: impl Ctx, content: Table<Vector>, #[expose] rectangle: Table<Vector>, #[expose] combined: bool) -> Table<Vector> {
789789
let Some((target, target_transform)) = rectangle.get(0).map(|rect| (rect.element, rect.transform)) else {
790790
return content;
791791
};

0 commit comments

Comments
 (0)