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

Fix bugs of copying scene root node or pasting node as scene root #81415

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

Rindbee
Copy link
Contributor

@Rindbee Rindbee commented Sep 7, 2023

Fix crash when pasting a node as a new scene root.
Fix owner was not set correctly when copying scene root node from unsaved scene.

The owner of the root node is nullptr, which was ignored before.

Bugsquad edit: Fixes #81507

@Rindbee Rindbee requested a review from a team as a code owner September 7, 2023 12:56
@KoBeWi KoBeWi added this to the 4.2 milestone Sep 7, 2023
@Rindbee Rindbee force-pushed the fix-copy-or-paste-root-nodes branch from bba59d0 to 93dd0c0 Compare September 7, 2023 13:33
Fix crash when pasting a node as a new scene root.
Fix owner was not set correctly when copying scene root node from unsaved scene.

The owner of the root node is `nullptr`, which was ignored before.
@Rindbee Rindbee force-pushed the fix-copy-or-paste-root-nodes branch from 93dd0c0 to 95248a7 Compare September 7, 2023 13:58
@KoBeWi KoBeWi added the crash label Sep 10, 2023
@akien-mga akien-mga merged commit 3669188 into godotengine:master Sep 11, 2023
@akien-mga
Copy link
Member

Thanks!

@Rindbee Rindbee deleted the fix-copy-or-paste-root-nodes branch September 11, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when click "paste from clipboad"
4 participants