mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
Writing a generated art object hashed its art's JSON, and writing that JSON hashed each generated art object inside it again, so the work doubled with each level of nesting: 16 levels hashed 23 MB for a 3 KB file, and reading a crafted file did the same. A generated art object inside another one's art (its children, or their opacity masks' art) is now written without its settings, so each object's art is written and hashed once. Reading drops settings found there anyway, without hashing, and the outer object reads as changed. Docs: docs/plugins.md, docs/mcp.md.