summaryrefslogtreecommitdiff
path: root/core/io/marshalls.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-16 10:54:02 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-27 14:49:47 -0700
commitfab88a810ccd32ed5a573050171d12c73f69a668 (patch)
tree4b1d49c7128b5e84eae2c541ad2904407c5824c8 /core/io/marshalls.cpp
parent87f575efddf503297e056f169cfd8a68dbe859c5 (diff)
Fix loading packed scene with editable children at runtime
At runtime, packed scenes with nodes marked as editable instance where saved with node type tags, which prevented the scene to be then loaded as an instance, causing duplicated nodes in the tree. This change ensures nodes marked as editable instances and their owned children are properly set as instances. That doesn't make a difference in the editor, since such nodes where already set as instances based on their instance state, but it helps at runtime where instance states are disabled. Co-authored-by: latorril <latorril@gmail.com>
Diffstat (limited to 'core/io/marshalls.cpp')
0 files changed, 0 insertions, 0 deletions