summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-01-12 11:41:13 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-01-12 11:41:13 +0300
commit8f706be6fa122a0e3ebf6b48a011023f4a20516c (patch)
tree597fb592507e15a44495d475a2c14f069a4d1aeb /editor/editor_node.cpp
parent0e4e782ada0bdd4ef19415f82a6373e2d79f7ecc (diff)
downloadredot-engine-8f706be6fa122a0e3ebf6b48a011023f4a20516c.tar.gz
Rearrange `editor/naming/*` project settings
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index ab79031ad2..ceab95ac75 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -3046,7 +3046,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
}
String EditorNode::adjust_scene_name_casing(const String &root_name) {
- switch (GLOBAL_GET("editor/scene/scene_naming").operator int()) {
+ switch (GLOBAL_GET("editor/naming/scene_name_casing").operator int()) {
case SCENE_NAME_CASING_AUTO:
// Use casing of the root node.
break;
@@ -5900,7 +5900,7 @@ void EditorNode::_feature_profile_changed() {
}
void EditorNode::_bind_methods() {
- GLOBAL_DEF(PropertyInfo(Variant::INT, "editor/scene/scene_naming", PROPERTY_HINT_ENUM, "Auto,PascalCase,snake_case"), SCENE_NAME_CASING_SNAKE_CASE);
+ GLOBAL_DEF(PropertyInfo(Variant::INT, "editor/naming/scene_name_casing", PROPERTY_HINT_ENUM, "Auto,PascalCase,snake_case"), SCENE_NAME_CASING_SNAKE_CASE);
ClassDB::bind_method("edit_current", &EditorNode::edit_current);
ClassDB::bind_method("edit_node", &EditorNode::edit_node);