Skip to content

Add Copy-Paste functionality for Nodes #64

Description

@ch0m5

Problem

There's sometimes situations where it is faster, specially for duplicating structures, to copy and paste your current selection of Nodes that it is to recreate that structure from scratch. The 1st option is currently not possible.

Proposed Solution

In a similar fashion to moving several selected Nodes at once, we could include Copy/Cut/Paste functionalities to Nodes, so that Nodes can be selected and then easily duplicated or repositioned through these shortcuts. The existing Dictionary-based Save&Load system that exists for Nodes could be useful for this purpose.

Ideally, this feature should be included in the Undo/Redo system, so that using these actions can be undone and redone as you would for any other changes in the DialogueData file.

Additionally, as a user, I would expect for selected Nodes I've duplicated or moved to retain the connections between them, as in connections between the Nodes I've edited. I would not expect (nor desire) for Nodes that I've Cut+Paste or Duplicated to retain connections to Nodes I've not performed the same operation on, i.e. Nodes that I've "left out".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgodot-4This issue is related to the Godot 4 version of the addon

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions