godot/scene
PouleyKetchoupp 389e67aa98
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>
(cherry picked from commit fab88a810c)
2021-09-14 13:41:27 +02:00
..
2d Backport new methods for KinematicBody and KinematicCollision 2021-08-26 12:16:40 +08:00
3d Fix is_playing() method in AnimatedSprite3D 2021-09-14 13:41:26 +02:00
animation Delete the node in AnimationTreePlayer.remove_node 2021-08-03 00:12:04 +08:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote 2021-09-05 12:20:49 +02:00
gui Better port handling connection for GraphEdit 2021-09-14 13:41:27 +02:00
main Merge pull request #47416 from Calinou/add-contrast-adaptive-sharpening-3.x 2021-08-10 10:08:24 +02:00
resources Fix loading packed scene with editable children at runtime 2021-09-14 13:41:27 +02:00
register_scene_types.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
scene_string_names.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00