summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2023-07-08 19:38:27 +0800
committerRindbee <idleman@yeah.net>2023-08-08 23:49:53 +0800
commit4795c3cdfa5cebaaee6c5ca0ea070d0e7c4305e4 (patch)
treee884f82250036e90944bd6411089b34cbfd79e0a /modules/gdscript/gdscript_analyzer.cpp
parentf7bc653cbe81018fe362472a0143b7153a52f929 (diff)
downloadredot-engine-4795c3cdfa5cebaaee6c5ca0ea070d0e7c4305e4.tar.gz
Clear the previously set state when configuring for a new scene root node
Saving a subscene causes the main scene to be re-instantiated. And the resource instance in the main scene will be reused when the main scene is re-instantiated. So for resources with `resource_local_to_scene` enabled, resetting state may be necessary (at least for `ViewportTexture`).
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
0 files changed, 0 insertions, 0 deletions