Closed JimmyCushnie closed 4 years ago
Also: if a node has a value and no children, but it fails to load as a base type, try loading it using complex type shortcuts.
Added this feature in 97b6974 :D not sure why it didn't automatically close the issue.
Consider the following type.
If we save it as SUCC, it will look something like this:
Now suppose later we make
Color
a base type, saving and loading it as a hex code:At this point, SUCC will be unable to load the first example, as base types must ALWAYS be saved and loaded as their single-line value.
Proposal: if SUCC tries to load a node as a base type, and that node has child nodes, SUCC should treat the base type as a complex type.