-
-
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
Make 2D and 3D node names more explicit #37340
Conversation
Shouldn't |
4c89f7b
to
1350977
Compare
Likewise for ClippedCamera, shouldn't it be ClippedCamera3D? In the end, it is a clipped "Camera3D" now, so I don't see why the suffix should be dropped. |
Nodes left to consider (probably left alone on purpose, but we should confirm that we don't want to rename them):
Nodes that could maybe be moved:
|
Already renamed locally. |
758119a
to
b6dc150
Compare
Added more renames, namely:
Also renamed editor plugins to match the new node names that they handle, and fixed a few missing file renamings to match their new main class name. |
Why isn't this
There is no possibile way to have non-3D ARVR nodes, so I don't think they need the suffix. EDIT: Well, if we have
If that is the case, why does its icon contain both red and blue? Blue is for 2D.
Not a suggestion, just a thought: What about Also, there is the case of non-node things to rename (such as |
b6dc150
to
e098ccc
Compare
@@ -31,7 +31,7 @@ | |||
#ifndef SPATIAL_EDITOR_GIZMOS_H | |||
#define SPATIAL_EDITOR_GIZMOS_H |
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.
Should also change the include guards along with the class and file name.
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.
Too difficult to do consistently with all those renames, I'll write a script to do it (#37290).
e098ccc
to
85ff1fa
Compare
@aaronfranke touchscreenbutton is not control derived simply because it will process its own input (touch). its completely unrelated to any of the control logic (mouse). |
871cd84
to
b429da6
Compare
b429da6
to
1db10c7
Compare
Done.
Done. |
@aaronfranke In Godot 3.2 at least, WorldEnvironment can be used to enable glow and HDR in 2D. I'm not sure about the |
1db10c7
to
00d8a4d
Compare
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.
Should be good to merge as far as I'm concerned if the CI builds pass.
00d8a4d
to
461c609
Compare
Pushed some extra changes for leftover String references to old node names, and fixing the editor plugin names for some of the renamed node types. |
Rename editor plugins to match the new node names.
461c609
to
d1acbbc
Compare
Will there be a way to automatically update a project to the new names? |
Just a note: Docs and header gaurds need to be updated. |
This comment has been minimized.
This comment has been minimized.
@danilw That's not related to this PR. If you want to discuss that, check out this discussion: godotengine/godot-proposals#629 |
@Demolishun This is already implemented:
It works automatically, you don't need to do anything specific. |
To avoid confusion from users, most 3D nodes and 2D nodes (as well as resources) were renamed to match their type, as an example:
Additionally, "Spatial" as a base for 3D nodes no longer exists, it was renamed to "Node3D".
Some nodes that are obviously 3D or 2D only remain as such, such as GIProbe, or YSort, but far most of them were renamed.
Compatibility option was added so old scenes can still load without problem.
Below is the list of 3D nodes and their new names:
Bugsquad edit: Fixes #30736