summaryrefslogtreecommitdiff
path: root/editor/editor_layouts_dialog.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-11-20 10:09:59 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-07-17 09:02:24 +0200
commitccff2f2551c5749e1c7d2976222013f582d767b1 (patch)
treeb86e6561a5ad18f1f6b400a5b56a23127cad4c2e /editor/editor_layouts_dialog.cpp
parent1ceb3d99a9fe4d8857fcd9cd6e96ac47ec3e266d (diff)
Optimized ScriptEditor initialization when many scripts are loaded
This change avoids the editor to freeze for several seconds when a project with lots of scripts is loaded in the editor. It focuses on a few heavy operations previously executed on all previously loaded scripts: - Initialize script resource (script validation/parsing) only on focus - ScriptTextEditor: code editor and edit menu are added to the scene only on focus - Add to recent scripts only when opening new scripts (load/save scene metadata)
Diffstat (limited to 'editor/editor_layouts_dialog.cpp')
0 files changed, 0 insertions, 0 deletions