-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loadFromDatalessJSON : fill a SVG (from URL) with a gradient doesn't work #3989
Labels
Comments
mmmm ok i ll take a look. i think i know what is it. Be aware that pathGroups are deprectated, in 2.0 are removed. You will have just groups. |
keep here for faster access |
Thanks for the reply. Will wait for the fix then ^^. |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.7.6
Steps to reproduce
My engine loads a generated JSON with the loadFromDatalessJSON method. I reproduced the behavior with the Kitchensink demo tool. The JSON to load is in that pastebin : https://pastebin.com/jvnvGxPs
Expected Behavior
There's 4 objects displayed.
In Top Left corner, a path fully in JSON with a plain color. In Top Right corner, a path fully in JSON with a gradient.
In Bottom Left corner, a path coming from an external URL with a plain color. In Bottom Right corner, a path coming from an external URL with a gradient.
What is expected : the two objects on the left must be displayed with a plain color (Green), and the two on the right should have the gradient (Red-Blue).
Actual Behavior
The bottom right object is not correctly rendered. The gradient is not applied to the object coming from an external URL.
The text was updated successfully, but these errors were encountered: