mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add the "Rate" multiplier parameter to the Animation Time node (#3685)
This commit is contained in:
@@ -1226,9 +1226,16 @@ async fn instance_map(ctx: impl Ctx + CloneVarArgs + ExtractAll, content: Table<
|
||||
}
|
||||
|
||||
#[node_macro::node(category("Vector"), path(graphene_core::vector))]
|
||||
async fn flatten_path<I: 'n + Send>(_: impl Ctx, #[implementations(Table<Graphic>, Table<Vector>)] content: Table<I>) -> Table<Vector>
|
||||
async fn flatten_path<T: 'n + Send>(
|
||||
_: impl Ctx,
|
||||
#[implementations(
|
||||
Table<Graphic>,
|
||||
Table<Vector>,
|
||||
)]
|
||||
content: Table<T>,
|
||||
) -> Table<Vector>
|
||||
where
|
||||
Graphic: From<Table<I>>,
|
||||
Graphic: From<Table<T>>,
|
||||
{
|
||||
// NOTE(AdamGerhant):
|
||||
// A node-based solution to support passing through vector data could be a network node with a cache node
|
||||
|
||||
Reference in New Issue
Block a user