Skip to content

make booleanswitcher clean up the targets list while autoaddchildren is enabled #6243

@art0007i

Description

@art0007i

Is your feature request related to a problem? Please describe.

if you have a booleanswitcher with autoaddchildren, but the children are non-persistent (or the switcher slot has a children save blocker) saving the item and spawning it out will result in null entries which have to be manually removed to return it to the expected state. here's images describing what I mean:

Pics

Before saving:
Image

After saving and spawning out:
Image

Describe the solution you'd like

while autoaddchildren is enabled saving should not create null elements

Describe alternatives you've considered

some jank where i unparent all non-persistent items on saving and put them back in after, it's not a nice solution but the only one I can think of

Additional Context

No response

Requesters

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureA new addition, whose complexity hasn't been evaluated yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions