Skip to content

Commit 5e8f9c2

Browse files
committed
Remove InjectPosition
1 parent 26d485e commit 5e8f9c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use core_types::Color;
22
use core_types::table::{Table, TableRowRef};
3-
use core_types::{CloneVarArgs, Context, Ctx, ExtractAll, ExtractIndex, ExtractPosition, InjectPosition, OwnedContextImpl};
3+
use core_types::{CloneVarArgs, Context, Ctx, ExtractAll, ExtractIndex, ExtractPosition, OwnedContextImpl};
44
use glam::DVec2;
55
use graphic_types::Graphic;
66
use graphic_types::Vector;
@@ -9,7 +9,7 @@ use vector_types::GradientStops;
99

1010
#[node_macro::node(name("Instance on Points"), category("Instancing"), path(core_types::vector))]
1111
async fn instance_on_points<T: Into<Graphic> + Default + Send + Clone + 'static>(
12-
ctx: impl ExtractAll + CloneVarArgs + Sync + Ctx + InjectPosition,
12+
ctx: impl ExtractAll + CloneVarArgs + Sync + Ctx,
1313
points: Table<Vector>,
1414
#[implementations(
1515
Context -> Table<Graphic>,

0 commit comments

Comments
 (0)