diff options
| author | Pedro J. Estébanez | 2017-04-26 10:11:48 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez | 2017-04-27 08:46:45 +0200 |
| commit | 9a0e08a35263ede46f7cacf9290ba1407f4eb733 (patch) | |
| tree | b9684b4460d1ccbd3960576595dbd5f4ad47eb11 /editor/editor_node.cpp | |
| parent | 90576e0c7a446977dfe9fc7aa572a3b98974a1cc (diff) | |
| download | godot-9a0e08a35263ede46f7cacf9290ba1407f4eb733.tar.gz godot-9a0e08a35263ede46f7cacf9290ba1407f4eb733.tar.zst godot-9a0e08a35263ede46f7cacf9290ba1407f4eb733.zip | |
Add setting to opt-out of capitalization in the property inspector
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index ec1c4a499..1dccf7065 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -404,6 +404,7 @@ void EditorNode::_notification(int p_what) { if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) { scene_tabs->set_tab_close_display_policy((bool(EDITOR_DEF("global/always_show_close_button_in_scene_tabs", false)) ? Tabs::CLOSE_BUTTON_SHOW_ALWAYS : Tabs::CLOSE_BUTTON_SHOW_ACTIVE_ONLY)); + property_editor->set_enable_capitalize_paths(bool(EDITOR_DEF("inspector/capitalize_properties", true))); } } @@ -5877,6 +5878,7 @@ EditorNode::EditorNode() { property_editor->set_show_categories(true); property_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); property_editor->set_use_doc_hints(true); + property_editor->set_enable_capitalize_paths(bool(EDITOR_DEF("inspector/capitalize_properties", true))); property_editor->hide_top_label(); property_editor->register_text_enter(search_box); |
