-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Add open scene button in Inspector for PackedScene resource #69938
Conversation
This feature is great from a usability point of view if you're storing packed scenes in an export variable. Don't have much time to review the code though. Edited: It's a bit short so may be easy to review. |
|
||
void PackedSceneEditor::_notification(int p_what) { | ||
switch (p_what) { | ||
case NOTIFICATION_ENTER_TREE: |
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 thought we needed a [[fallthrough]] here? Did something change?
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.
[[fallthrough]]
is not required if the case does nothing on its own. See #58151.
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.
Did a github.com review, There's some minor comments, but nothing big.
I did not execute the cicd build for review.
f922b1e
to
9af9af5
Compare
Thanks! |
Closes godotengine/godot-proposals#3338
Adds an "Open Scene" button when editing a PackedScene resource: