Skip to content

Conversation

@chintu4
Copy link

@chintu4 chintu4 commented Jan 9, 2026

Issue #3604

The issue #3604 (Apply Transform node produces the wrong result on shapes with handles) i can see in the given video that

steps to reproduce issue.

  1. Creating an ellipse shape using ellipse tool
  2. Selected magic button (used to apply operations on end of the layer chain.) in the right side in Properties panel.
  3. Choose apply transform
  4. the ellipse shape in the Artboard gets distorted.

fix

At "node-graph\nodes\vector\src\vector_modification_nodes.rs" file , apply_transform is function which is used internally in node-graph system this function shows no visible change after addition of control handler code in apply transform function.
I have added a 3 line in apply_tranform function so that tranformation from geometry to vector happen both on Achor and handlers. currently only anchor points are being handled .

//control handler code 
for (handles, _start_index, _end_index) in vector.segment_domain.handles_and_points_mut() {
   		*handles = handles.apply_transformation(|p| transform.transform_point2(p));
   	}

the existing code only handles anchor points

//existing code
for (_, point) in vector.point_domain.positions_mut() {
    *point = transform.transform_point2(*point);
}

Verification

I have compiled and run this project on Linux machine. I have saw that my change doesn't show any visible change in Artboard transformation happens internally. Iam getting feedback message that "The "node has no parameter" i expect this is a expected behaviour.
Here is the verification video

export_fix.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant