Skip to content

Edge case where moving layers between groups changes the location, rotation or scale on the canvas #6

@timon-schelling

Description

@timon-schelling

Individual layers have their transforms set relative to parent node transforms. When such layer is moved outside of the parent into a different location in the nodegraph it changes its position on the canvas. It is really frustrating to work around this mechanic, and I believe many people will have similar opinion, especially those that come from other 2D apps.

Two solutions that might work here:

  • make every layer have its transforms as absolute values relative to canvas origin (0,0)
  • recalculate transforms when the layer is moved into a different place in the nodegraph so it's location, rotation and scale does not change

Reproduction:

Layer group needs to be transformed in some way - moved, scaled or rotated. When new layer is inserted the transforms are applied to it as well. With editor.graphite.rs:

output.mp4

Original: GraphiteEditor#3195

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions