Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy, Cut, Paste scene nodes #3720

Closed
kirilledelman opened this issue Feb 15, 2016 · 18 comments · Fixed by #34892
Closed

Copy, Cut, Paste scene nodes #3720

kirilledelman opened this issue Feb 15, 2016 · 18 comments · Fixed by #34892

Comments

@kirilledelman
Copy link

Copy / Cut, Paste nodes would be a tremendous time saver.

Right now I have to add my components ( sub-scenes ) and re-enter script variables in Property Editor over and over. If I could copy / paste selected node trees between scenes, I would be very happy.

I'm sure many other users miss this ability.

@nunodonato
Copy link
Contributor

can't you do that with "copy params" and "set params" in the inspector? (gear icon)

@kirilledelman
Copy link
Author

Yeah, you can, one node at a time, very painful.

@rgrams
Copy link

rgrams commented Feb 16, 2016

Can't you just put the stuff in a scene and add an instance of that instead of copy-pasting? Isn't that the point of scenes? Not that I'm disagreeing with you, copy-paste is always good.

@kubecz3k
Copy link
Contributor

@rgrams +1 for nice suggestion, it's what should be done if it's possible (but it's not always suitable)
@kirilledelman Basically there is already an option to copy node from other scene into current one. Just "import->Node from scene". It will copy the node together with all children. To copy multiuple nodes you need temporary common parent, or do this multiple times, it would be nice enhancement to give ability to just select multiple nodes in this window.
When it comes to 'cut' I'm not so sure it's such great idea, because it's easy to broke source scene in the rush, <- after all it's not so hard to open the scene and delete node manually.
What do you think?

@reduz
Copy link
Member

reduz commented Feb 16, 2016

You know you can Ctrl+D to duplicate right? no need to add things and edit
them over and over..

On Tue, Feb 16, 2016 at 7:12 AM, kubecz3k notifications@github.com wrote:

Basically there is already option to copy node from other scene into
current one. Just "import->Node from scene". It will copy the node together
with all children.


Reply to this email directly or view it on GitHub
#3720 (comment).

@kirilledelman
Copy link
Author

I didn't know about Import->Node from scene. I will certainly start using it from now on.

I thank everyone for offering workarounds. Yes, it could be done. Copy / paste params one at a time, or import a node from another scene, one at a time, then reparent, one at a time. It would, however be so much easier with simply Ctrl+C and Ctrl+V.

Maybe there could be an "offscreen" scene loaded in memory, where selected nodes are copied? Then pasting copies them back to current scene / under selected node or root if nothing is selected?

@nanodeath
Copy link
Contributor

nanodeath commented May 13, 2017

There doesn't appear to be an Import -> Node from scene option anymore (v2.1.3). Is there another workaround available?

Edit: Ah, I figured it out...you have to right-click a node and do Merge from scene. I wouldn't have guessed that meant copying a node over, though. (And it doesn't support multiselect, which is a bummer).

@kubecz3k
Copy link
Contributor

I think this issue is obsolete now. We have 'merge from scene' option under right click as Nonodeath noted. Closing.

@nanodeath
Copy link
Contributor

I'd personally still like to see an actual copy/paste function, and I'd be willing to bet that 90%+ of new users won't intuitively know what Merge from scene does without actually trying it, but...now that I now what the process is, I'm not going to press the issue.

@voithos
Copy link
Contributor

voithos commented Nov 29, 2017

+1 to copy/pasting. Merge from scene works, but I too had absolutely no idea what it did until reading this issue. Copy/paste is extremely intuitive, and I think it'd be great to have it - it'd certainly make Godot easier to use, and a better tool.

Can we reopen this?

@akien-mga
Copy link
Member

Let's reopen as it's partly implemented by #13309 already, and the copy function does sound like it could be useful (cut, less so, but for consistency why not have it too).

@akien-mga akien-mga changed the title Feature Request - Copy, Cut, Paste scene nodes Copy, Cut, Paste scene nodes Nov 29, 2017
@akien-mga
Copy link
Member

When this gets implemented, "Merge from scene" could maybe be removed as it's quite non-intuitive and would be less convenient in the end than just opening the scene and copying its contents to paste them in another scene.

@davidawad
Copy link

I would very much like cut and paste features. The only thing I could come up with, (as a user that hasn't read the manual and am figuring it out on my own), was to copy the files in the project folder from the command line and edit the copies as independent scenes

@gerchicov-bp
Copy link

2.5years passed but still nothing works. The versions should be 0.3.x instead of 3.x if even copy-paste actions don't work

@nikolatesla20
Copy link

2.5years passed but still nothing works. The versions should be 0.3.x instead of 3.x if even copy-paste actions don't work

IMO 3.0 is "junk" too much stuff just doesn't work

For now I stick with 2.1.4 until 3.1 is out long enough to try

@Reneator
Copy link

Sorry if these points were already said, just wanted to list my personal reasons:

If being able to copy and paste with either right-click->copy or standard hotkeys (ctrl +c etc.) would make the workflow more intuitive (instead of duplicating). The functionality could be similar to duplicating, but with hotkeys, so less dragging.

Now: right-click -> Duplicate ->drag node to the node it should be child of
new: click -> ctrl + c -> left-click on node you want it to be a child of -> ctrl + v

This could help me to refactor my projects, where i may have to move some nodes into a new scene. Right now i could copy the entire scene and then delete which i dont want to move.

@akien-mga
Copy link
Member

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.

The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.

If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

@akien-mga akien-mga added this to the 3.3 milestone Apr 21, 2021
@akien-mga
Copy link
Member

For the reference, this was implemented by #34892 as of 3.3.

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