MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / reload_scripts

Method reload_scripts

editor/script/script_editor_plugin.cpp:2897–2900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2895}
2896
2897void ScriptEditor::reload_scripts(bool p_refresh_only) {
2898 // Call deferred to make sure it runs on the main thread.
2899 callable_mp(this, &ScriptEditor::_reload_scripts).call_deferred(p_refresh_only);
2900}
2901
2902void ScriptEditor::_reload_scripts(bool p_refresh_only) {
2903 for (int i = 0; i < tab_container->get_tab_count(); i++) {

Calls 1

call_deferredMethod · 0.45

Tested by

no test coverage detected