Adjusting one gradient causes changes to unrelated gradients on same document
adjusting one gradient causes changes to unrelated gradients on same document.
[Deleted User] commented
Proof that Illustrator stores created gradients as a hidden global swatch. The user doesn't know about it and doesn't care. Until we try to create scripts to work with gradients, then everything breaks down. And we can't script to break this link, only manually before running the script
So that's why recent Gradient Blender script (https://ais.sergosokin.ru/color/gradient-blender/) warns about this behavior in this short video: https://ais.sergosokin.ru/content/uploads/cycle-gradient/fixGradient.mp4
Lance, I think I know what Ankit meant.
You won't be able to catch this manually, but it hits hard when you start using scripts that deal with gradients.
Here is a blog post about this by Sergey Osokin, https://ais.sergosokin.ru/blog/all/copies-of-gradients/ — and its English translation from Google, https://ais-sergosokin-ru.translate.goog/blog/all/copies-of-gradients/?_x_tr_sl=ru&_x_tr_tl=en
So, unless a gradient is edited in any manual way, Ai secretly thinks of separate fills as identical copies, and change each one, when you edit only one of them.
Here’s the GIF from yet unpublished script to demo it.
Can you provide more details? Unable to reproduce this issue.
I set up a very simple CMYK document and created two objects and then applied two different default gradients, a different one to each object. Adjust object1, the object2 remains as it was. Adjust the object2 , and object1 remains as it was after I first adjusted it.