You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to save and load custom class objects. Inside constructor must be create another object in object:added event, but it fail when use loadFromJSON method.
Temporary solution
in fabric.util.enlivenObjects change _this.insertAt(obj, index, true); to _this.insertAt(obj, index, false);
The text was updated successfully, but these errors were encountered:
Version
1.6.3
Test Case
http://jsfiddle.net/a83g2qx4/2/
Steps to reproduce
Try to save and load custom class objects. Inside constructor must be create another object in object:added event, but it fail when use loadFromJSON method.
Temporary solution
in fabric.util.enlivenObjects change
_this.insertAt(obj, index, true);
to_this.insertAt(obj, index, false);
The text was updated successfully, but these errors were encountered: