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

Keep groups when replacing nodes #7022

Merged
merged 1 commit into from Nov 6, 2016
Merged

Conversation

neikeq
Copy link
Contributor

@neikeq neikeq commented Nov 2, 2016

Fixes #7013

I am not sure if it is fine inside the keep_data block.

@@ -2485,6 +2485,12 @@ void Node::replace_by(Node* p_node,bool p_keep_data) {
rd.name=E->get().name;
rd.value=get(rd.name);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR: It looks like this block of code is not finished. Here rd should be added to replace_data, shouldn't it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seems so.

@neikeq
Copy link
Contributor Author

neikeq commented Nov 6, 2016

Merging as there does not seem to be any opinion on the keep_data doubt.

@neikeq neikeq merged commit d76f622 into godotengine:master Nov 6, 2016
@neikeq neikeq deleted the pr-issue-7013 branch May 14, 2021 01:56
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.

None yet

2 participants