Merge pull request #42469 from timothyqiu/node3d

Changes mention of Node3D back to Spatial on 3.2
This commit is contained in:
Rémi Verschelde 2020-10-01 19:07:16 +02:00 committed by GitHub
commit beda69888f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
if (preferred_types.empty()) {
preferred_types.push_back("Control");
preferred_types.push_back("Node2D");
preferred_types.push_back("Node3D");
preferred_types.push_back("Spatial");
}
for (int i = 0; i < preferred_types.size(); i++) {
@ -1163,7 +1163,7 @@ void SceneTreeDock::_notification(int p_what) {
button_create_script->set_icon(get_icon("ScriptCreate", "EditorIcons"));
button_detach_script->set_icon(get_icon("ScriptRemove", "EditorIcons"));
button_2d->set_icon(get_icon("Node2D", "EditorIcons"));
button_3d->set_icon(get_icon("Node3D", "EditorIcons"));
button_3d->set_icon(get_icon("Spatial", "EditorIcons"));
button_ui->set_icon(get_icon("Control", "EditorIcons"));
button_custom->set_icon(get_icon("Add", "EditorIcons"));