diff --git a/node-graph/gcore/src/vector/vector_nodes.rs b/node-graph/gcore/src/vector/vector_nodes.rs index 7caa007a..89415993 100644 --- a/node-graph/gcore/src/vector/vector_nodes.rs +++ b/node-graph/gcore/src/vector/vector_nodes.rs @@ -163,15 +163,15 @@ async fn copy_to_points, FI: Future> = Vec::new(); for point in points_list { - let transform = DAffine2::from_translation(point) * instance_center; + let transform = DAffine2::from_translation(points.transform.transform_point2(point)) * instance_center; for mut subpath in instance.subpaths.clone() { - subpath.apply_transform(transform); + subpath.apply_transform(transform * instance.transform); instanced_subpaths.push(subpath); } }