diff options
author | Adam Scott <ascott.ca@gmail.com> | 2022-11-26 13:46:04 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2022-11-28 10:23:02 -0500 |
commit | a34a26eb66cb68442b57d734efed42522559878c (patch) | |
tree | 649d2710173b62652f532c6e3c6c0708aaf59b7d /modules/gdscript | |
parent | e29b982dbf06fb7bb32257642687df5093d7327c (diff) |
Add PackedScene::reload_from_file() override
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_cache.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_cache.cpp b/modules/gdscript/gdscript_cache.cpp index 2e7263b652..c77364d337 100644 --- a/modules/gdscript/gdscript_cache.cpp +++ b/modules/gdscript/gdscript_cache.cpp @@ -360,7 +360,6 @@ Ref<PackedScene> GDScriptCache::get_packed_scene(const String &p_path, Error &r_ singleton->packed_scene_cache[p_path] = scene; singleton->packed_scene_dependencies[p_path].insert(p_owner); - scene->recreate_state(); scene->reload_from_file(); return scene; } |