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

Properly edit the instanced node in the inspector #44934

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jan 5, 2021

Fixes #43761

I confirmed that #32908 was the culprit. That PR removed some duplicate calls, which incidentally were the ones that also edited the instanced node. My fix just edits the node explicitly.

@KoBeWi KoBeWi added bug topic:editor usability regression cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Jan 5, 2021
@KoBeWi KoBeWi added this to the 4.0 milestone Jan 5, 2021
@Zireael07
Copy link
Contributor

I hope you added some code comments explaining the reasoning behind seemingly duplicated calls?

@KoBeWi
Copy link
Member Author

KoBeWi commented Jan 5, 2021

Not sure what do you mean. The calls were removed by the PR I linked. My PR fixes one unwanted side-effect of that.

@Zireael07
Copy link
Contributor

Ah, I thought you simply restored the seemingly unnecessarily duplicated calls.

@akien-mga
Copy link
Member

Ah, I thought you simply restored the seemingly unnecessarily duplicated calls.

You can review PR changes by clicking the "Files changed" tab: https://github.com/godotengine/godot/pull/44934/files
Since you seem to read all PRs, that's a great way to become familiar with the codebase, even if you're not a C++ dev (that's how I learned C++ myself).

@akien-mga akien-mga merged commit c44a144 into godotengine:master Jan 5, 2021
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the p-p-push_the_item branch January 5, 2021 13:59
@akien-mga
Copy link
Member

Cherry-picked for 3.2.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jan 5, 2021
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.

Instanced scene is not automatically opened in the inspector
3 participants