diff options
author | Rindbee <idleman@yeah.net> | 2022-08-29 07:50:36 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2023-08-18 19:08:34 +0800 |
commit | bd42d337df4c1187b1b813f2a727823105775207 (patch) | |
tree | f7e332b8f10df4765d1535083ad494723f062d3e /modules/gdscript/gdscript_utility_functions.cpp | |
parent | a278c1b98a81738a35b96a933a6e6cf771f9ab2d (diff) | |
download | redot-engine-bd42d337df4c1187b1b813f2a727823105775207.tar.gz |
Fix the behavior of the resource property of the sub-scene root node on instantiation
The sub-scene root node will be set successively in the sub-scene and the main scene.
The PR is simply to determine intent from the record. Mainly the cases when
`resource_local_to_scene` is enabled in main scene.
When updating resources according to the records of the main scene, use the
`scene_unique_id` in the main scene to prevent the ID of the resource from
changing continuously when saving the scene.
Diffstat (limited to 'modules/gdscript/gdscript_utility_functions.cpp')
0 files changed, 0 insertions, 0 deletions