Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
40670288
Unverified
Commit
40670288
authored
Oct 11, 2019
by
Rémi Verschelde
Committed by
GitHub
Oct 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32729 from Calinou/inspector-remove-string-conversion
Remove redundant `camelcase_to_underscore()` call in EditorInspector
parents
fc281dce
8c79b4f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
editor_inspector.cpp
editor/editor_inspector.cpp
+2
-2
No files found.
editor/editor_inspector.cpp
View file @
40670288
...
...
@@ -1566,11 +1566,11 @@ void EditorInspector::update_tree() {
if
(
dot
!=
-
1
)
{
String
ov
=
name
.
right
(
dot
);
name
=
name
.
substr
(
0
,
dot
);
name
=
name
.
ca
melcase_to_underscore
().
ca
pitalize
();
name
=
name
.
capitalize
();
name
+=
ov
;
}
else
{
name
=
name
.
ca
melcase_to_underscore
().
ca
pitalize
();
name
=
name
.
capitalize
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment