mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-14 07:47:29 +08:00
New LinearColorEntity, string serialization fixed
This commit is contained in:
@@ -28,7 +28,7 @@ export default class NodeElement extends ISelectableDraggableElement {
|
||||
*/
|
||||
static fromSerializedObject(str) {
|
||||
str = str.trim()
|
||||
let entity = SerializerFactory.getSerializer(ObjectEntity).read(str)
|
||||
let entity = SerializerFactory.getSerializer(ObjectEntity).deserialize(str)
|
||||
return new NodeElement(entity)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user