Skip to content

Commit

Permalink
AttributeNode: Fix serialization/deserialization. (#28944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jul 23, 2024
1 parent 5e4214d commit 6b4af05
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/nodes/core/AttributeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,24 @@ class AttributeNode extends Node {

}

serialize( data ) {

super.serialize( data );

data.global = this.global;
data._attributeName = this._attributeName;

}

deserialize( data ) {

super.deserialize( data );

this.global = data.global;
this._attributeName = data._attributeName;

}

}

export default AttributeNode;
Expand Down

0 comments on commit 6b4af05

Please sign in to comment.