aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.cpp
diff options
context:
space:
mode:
authorNathan Warden2015-03-23 00:08:07 -0500
committerNathan Warden2015-03-23 00:08:07 -0500
commit21eb3b2a83fd59f6d667688c95b4a198b3b6f689 (patch)
tree017ed29e978a4d37701f5098d01cb0ec997255ab /tools/editor/property_editor.cpp
parenta12c364489df586bf3cbb38f613c0615f88eaff1 (diff)
downloadgodot-21eb3b2a83fd59f6d667688c95b4a198b3b6f689.tar.gz
godot-21eb3b2a83fd59f6d667688c95b4a198b3b6f689.tar.zst
godot-21eb3b2a83fd59f6d667688c95b4a198b3b6f689.zip
Camel casing being capitalized only happens in the inspector now.
Diffstat (limited to '')
-rw-r--r--tools/editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 078a177ca..3fd713c5b 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -2258,7 +2258,7 @@ void PropertyEditor::update_tree() {
}
if (capitalize_paths)
- item->set_text( 0, name.capitalize() );
+ item->set_text( 0, name.camelcase_to_underscore().capitalize() );
else
item->set_text( 0, name );