Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading packed scene with editable children at runtime #49664

Merged
merged 1 commit into from
Aug 28, 2021

Commits on Aug 27, 2021

  1. 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>
    pouleyKetchoupp and latorril committed Aug 27, 2021
    Configuration menu
    Copy the full SHA
    fab88a8 View commit details
    Browse the repository at this point in the history