-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Remove Merge From Scene #45943
Remove Merge From Scene #45943
Conversation
Makes sense. However, it's a bit frightening, isn't it? 😝 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit concerned that it can appear as a workflow breakage for some users, at least until used to being able to copy paste... but there's still time to try it out until 4.0 is released, so let's remove it and see how the feedback is.
Thanks! |
@akien-mga @KoBeWi @RandomShaper it was a workflow breakage for me! As I understand, I can now just select all the files in the scene and copy them to another one? Is it a safe workflow? |
Yes, it's even safer than the merge from scene, because it automatically makes resources unique when necessary. |
@KoBeWi @RandomShaper @reduz The only problem I can't figure out is why the size of my scene is getting so big. Every time I copy a node from another scene containing a mesh, it is completely copied to the new scene, literally all mesh coordinates go directly to the tscn file in PoolByteArray, is this a normal behavior? Why not instantiate the original mesh file? |
What version are you using? It sounds like an old bug that should be fixed |
@KoxaKoxama It's likely making resources unique when it shouldn't, please open an issue with the project attached |
This is in 3.5.1 and 4.0b2 |
I just noticed that "Merge From Scene" is missing from Godot 4 (Beta 8), and this PR confirms that it indeed is so. I would challenge the initial assumption of this PR that Copy/Paste will replace the "Merge from scene" use cases. "Merge from scene" is able to pick resources from a scene file (.tscn, .glb...) without actually importing the scene. This is a really useful feature that allow you to pick say just a mesh from a file for replacement without having to import/re-import a whole scene. I would go as far as suggesting that this is the primary use case for "Merge from scene" This is a quite widely used use case in my workflow. I see no way that could be done with Copy/Paste functionality, but maybe I'm missing something. |
I think I don't understand. When you copy a scene instance with any external references, the references are left unchanged. Only built-in references are copied (but merge from scene does the same, except it's bugged). Did you try if copy-paste works with your use-case or are just asking theoretically? |
I must say I don't understand either. I've used copy and paste to do exactly this (extract a single mesh instance from a glb file) |
That's exactly what I did with copy and paste. Open the glb, copy and paste, voila! No need to "add to project node tree" |
This PR removes Merge From Scene, which is useless after #34892 was merged.
Hopefully I didn't miss anything.
Resolves #32039 (copy-paste doesn't have this problem)