GraphiteEditor / Graphite

2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.
https://graphite.rs
Apache License 2.0
7.29k stars 385 forks source link

Cannot rearrange layers in infinite canvas #1785

Closed adamgerhant closed 1 week ago

adamgerhant commented 1 week ago

Caused by parent being None, since the export node is not an actual node.

0HyperCube commented 1 week ago

This is not due to the parent being None, but instead because you have disabled inserting layers as a child of the root @adamgerhant. https://github.com/GraphiteEditor/Graphite/blob/5b6a2518e41b1dde12dde9ef9e2bc6f2207dcfaa/editor/src/messages/portfolio/document/document_message_handler.rs#L565-L568