properly restore propagation of inherited attributes when loading project
pull/68/head
jmoenig 2018-10-02 13:28:25 +02:00
rodzic 86e57349d2
commit 2cd383e085
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -3,6 +3,7 @@
## Development Version
### 2018-10-02
* new dev version
* Store: fixed #2219 - properly restore propagation of inherited attributes when loading
## v4.2.1.4
### 2018-09-09

Wyświetl plik

@ -61,7 +61,7 @@ normalizeCanvas, contains*/
// Global stuff ////////////////////////////////////////////////////////
modules.store = '2018-July-09';
modules.store = '2018-October-02';
// XML_Serializer ///////////////////////////////////////////////////////
@ -482,6 +482,7 @@ SnapSerializer.prototype.rawLoadProjectModel = function (xmlNode) {
sprite.setExemplar(exemplar);
}
sprite.inheritedAttributes = sprite.inheritanceInfo.delegated || [];
sprite.updatePropagationCache();
}
if (sprite.nestingInfo) { // only sprites may have nesting info
anchor = myself.project.sprites[sprite.nestingInfo.anchor];