mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-27 16:34:05 +00:00
Improve instancing nodes (make them output group data, add 'Instance Repeat', fix Flatten Vector Elements click targets, and more) (#2610)
* Improve instancing nodes (make them output group data, add 'Instance Repeat', fix Flatten Vector Elements click targets, and more) * Fix test? * Fix more tests? * Fix moar test?? * Clean up instance method naming
This commit is contained in:
parent
a29802de36
commit
ac9fb2b02d
33 changed files with 811 additions and 529 deletions
|
@ -187,7 +187,7 @@ where
|
|||
..Default::default()
|
||||
};
|
||||
|
||||
for instance in data.instances_mut() {
|
||||
for instance in data.instance_mut_iter() {
|
||||
*instance.transform = DAffine2::from_translation(-aabb.start) * *instance.transform;
|
||||
}
|
||||
data.render_svg(&mut render, &render_params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue