You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-02 19:01:36 +00:00
Remove redundant String operation from GDScript enum exports
This commit is contained in:
@@ -4675,7 +4675,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
||||
first = false;
|
||||
}
|
||||
|
||||
current_export.hint_string += E->get().operator String().camelcase_to_underscore(true).capitalize().xml_escape();
|
||||
current_export.hint_string += E->get().operator String().capitalize().xml_escape();
|
||||
if (!is_flags) {
|
||||
current_export.hint_string += ":";
|
||||
current_export.hint_string += enum_values[E->get()].operator String().xml_escape();
|
||||
|
||||
Reference in New Issue
Block a user