mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Several performance improvements, mainly in loading and instancing scenes and resources.
A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
This commit is contained in:
parent
2b64f73b04
commit
95047562d7
62 changed files with 475 additions and 294 deletions
|
@ -321,10 +321,10 @@ void ScriptTextEditor::_load_theme_settings() {
|
|||
//colorize engine types
|
||||
Color type_color= EDITOR_DEF("text_editor/engine_type_color",Color(0.0,0.2,0.4));
|
||||
|
||||
List<String> types;
|
||||
List<StringName> types;
|
||||
ObjectTypeDB::get_type_list(&types);
|
||||
|
||||
for(List<String>::Element *E=types.front();E;E=E->next()) {
|
||||
for(List<StringName>::Element *E=types.front();E;E=E->next()) {
|
||||
|
||||
get_text_edit()->add_keyword_color(E->get(),type_color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue