1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Fix slow load/save of scenes with many instances of the same script

(cherry picked from commit 2ca6b9c610)
This commit is contained in:
Pedro J. Estébanez
2021-06-13 13:32:44 +02:00
committed by Rémi Verschelde
parent 461e79bd18
commit dc203b0d13
4 changed files with 21 additions and 15 deletions

View File

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