summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorNathan Warden <nathanwardenlee@icloud.com>2015-03-23 00:08:07 -0500
committerNathan Warden <nathanwardenlee@icloud.com>2015-03-23 00:08:07 -0500
commit21eb3b2a83fd59f6d667688c95b4a198b3b6f689 (patch)
tree017ed29e978a4d37701f5098d01cb0ec997255ab /tools/editor
parenta12c364489df586bf3cbb38f613c0615f88eaff1 (diff)
Camel casing being capitalized only happens in the inspector now.
Diffstat (limited to 'tools/editor')
-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 078a177ca1..3fd713c5b0 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 );