-
-
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
WIP Patternload #3598
WIP Patternload #3598
Conversation
This is a breaking change from 1.7.2 to 1.7.3. We had the following code:
This no longer works. Is the required callback documented anywhere? I was not able to see this change via the release changelog. We had to change the code to:
|
oh well, i think you are right. for custom saved json this may be a problem. you can also return the instance for normal restoring. i will.come back with more example and docs |
for example the base filter fromObject will serve the purpose of any filter restore unless you have some special code. So in your case if the Thresholding filter is of type
would be enough. I will add this notice in the changelog, not doing it was a fault. |
I appreciate the transparency! Will adjust our code to your suggestion! |
close #935
create a fromObject function that can wait for patterns in stroke and fill to be loaded.
Make all objects able to be loaded with a callback