summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-02 19:44:53 +0200
committerGitHub <noreply@github.com>2021-09-02 19:44:53 +0200
commitb73e7623c82f27f6327922217ad72198223a7109 (patch)
tree2ab7ce7d35eab7bcf6ed84ceac9c5dcb9248d03f /editor
parent29a3300c6aaa2c7915c39ad633dc3b0ce0a8505b (diff)
parent854f3285179f34d93287cef514affc842834ea32 (diff)
Merge pull request #33123 from Calinou/remote-inspector-capitalize-properties
Capitalize properties in the remote inspector
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 9c7bddf037..f86a36df2f 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2092,7 +2092,6 @@ void EditorNode::_edit_current() {
Object *prev_inspected_object = get_inspector()->get_edited_object();
- bool capitalize = bool(EDITOR_GET("interface/inspector/capitalize_properties"));
bool disable_folding = bool(EDITOR_GET("interface/inspector/disable_folding"));
bool is_resource = current_obj->is_class("Resource");
bool is_node = current_obj->is_class("Node");
@@ -2150,7 +2149,6 @@ void EditorNode::_edit_current() {
if (current_obj->is_class("EditorDebuggerRemoteObject")) {
editable_warning = TTR("This is a remote object, so changes to it won't be kept.\nPlease read the documentation relevant to debugging to better understand this workflow.");
- capitalize = false;
disable_folding = true;
} else if (current_obj->is_class("MultiNodeEdit")) {
Node *scene = get_edited_scene();
@@ -2187,10 +2185,6 @@ void EditorNode::_edit_current() {
inspector_dock->set_warning(editable_warning);
- if (get_inspector()->is_capitalize_paths_enabled() != capitalize) {
- get_inspector()->set_enable_capitalize_paths(capitalize);
- }
-
if (get_inspector()->is_using_folding() == disable_folding) {
get_inspector()->set_use_folding(!disable_folding);
}