瀏覽代碼

Merge pull request #53657 from pycbouh/gdscript-exports-redundant-string-op-3.x

Rémi Verschelde 3 年之前
父節點
當前提交
4b4cbdd2c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/gdscript/gdscript_parser.cpp

+ 1 - 1
modules/gdscript/gdscript_parser.cpp

@@ -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();