To this end, a structured asset can be split, revealing its constituent parts. Some structured assets are hierarchical, meaning that they can be further split. For instance, splitting an SVG file from Inkscape might reveal the top-level groups which act as layers, each of which could be further split to reveal the individual objects on that layer, and so on down.
There are two places an asset can be split:
- In the asset pane, where the enclosing asset will be hidden and its sub-assets shown (the enclosing asset will be marked as "split" in its metadata)
- In the editor pane, when editing a scene, the asset will be replaced in the scene by its sub-assets (with no effect on the enclosing asset's metadata)
One implication of this is that we will need to be able store distinct metadata for sub-assets. Their initial tags are derived from their enclosing assets, plus their own name (in the case of SVG objects, its inkscape:label if there is one, and its XML ID otherwise).
No comments:
Post a Comment