This PR allows you to add CloneBlanks to Layers (cotent layers, specifically), where previously they had to be added to SceneUpdateFragments.
This makes the new nested layer system more powerful and useful, as you have less need to pull all the way back up to SUFs for visual requirements that need clones.
As discussed on the issue, I've decided against supporting SceneAudio here too, for now. It feels different to clones.
While I was here, I also tweaked the way applying magnification works because it was bothering me. There is now a distinction between applying magnification to a single content layer, vs a recursive add to a tree of layers.
Relates to https://github.com/PurpleKingdomGames/indigo/issues/732
This PR allows you to add
CloneBlank
s toLayer
s (cotent layers, specifically), where previously they had to be added toSceneUpdateFragment
s.This makes the new nested layer system more powerful and useful, as you have less need to pull all the way back up to SUFs for visual requirements that need clones.
As discussed on the issue, I've decided against supporting
SceneAudio
here too, for now. It feels different to clones.While I was here, I also tweaked the way applying magnification works because it was bothering me. There is now a distinction between applying magnification to a single content layer, vs a recursive add to a tree of layers.