diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-06-13 13:32:44 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-06-13 13:32:44 +0200 |
commit | 2ca6b9c61028b10bd1b7821cd32f6fbf505d71d1 (patch) | |
tree | 8afb950b476a1f9484b30b999d4f5953b0bc6505 /modules/gdscript/gdscript.h | |
parent | 600b4c9c7b11622e4eb5ed1e5fd70b3d3f66170e (diff) | |
download | redot-engine-2ca6b9c61028b10bd1b7821cd32f6fbf505d71d1.tar.gz |
Fix slow load/save of scenes with many instances of the same script
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 0584ced35e..602553bb1a 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -148,7 +148,7 @@ class GDScript : public Script { #endif - bool _update_exports(bool *r_err = nullptr, bool p_recursive_call = false); + bool _update_exports(bool *r_err = nullptr, bool p_recursive_call = false, PlaceHolderScriptInstance *p_instance_to_update = nullptr); void _save_orphaned_subclasses(); void _init_rpc_methods_properties(); |