1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fixed reloading of tool scripts within editor, they should work much better now, closes #3194

This commit is contained in:
Juan Linietsky
2016-07-20 22:37:48 -03:00
parent 79a7473cac
commit 33cc480350
2 changed files with 22 additions and 2 deletions

View File

@@ -120,7 +120,11 @@ friend class GDScriptLanguage;
virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder);
#endif
#ifdef DEBUG_ENABLED
Map<ObjectID,List<Pair<StringName,Variant> > > pending_reload_state;
#endif
bool _update_exports();
@@ -265,6 +269,8 @@ class GDScriptLanguage : public ScriptLanguage {
Mutex *lock;
friend class GDScript;
SelfList<GDScript>::List script_list;