From 66ef93d3a3011a5fc1c87373fe83a824893ae4d2 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 29 Nov 2018 21:52:19 +0900 Subject: [PATCH] Updated UniJSON --- Scripts/Format/Editor/VRMVersionMenu.cs | 2 +- Scripts/Format/glTF_VRM_Material.cs | 2 +- UniGLTF | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/Format/Editor/VRMVersionMenu.cs b/Scripts/Format/Editor/VRMVersionMenu.cs index df8ee0aef..fbc4c2f8d 100644 --- a/Scripts/Format/Editor/VRMVersionMenu.cs +++ b/Scripts/Format/Editor/VRMVersionMenu.cs @@ -119,7 +119,7 @@ namespace VRM } else { - f.Value(node); + f.Dump(node.Bytes); } } diff --git a/Scripts/Format/glTF_VRM_Material.cs b/Scripts/Format/glTF_VRM_Material.cs index 8a24bb7d2..a2a96a112 100644 --- a/Scripts/Format/glTF_VRM_Material.cs +++ b/Scripts/Format/glTF_VRM_Material.cs @@ -52,7 +52,7 @@ namespace VRM f.Key("vectorProperties"); f.BeginMap(); foreach (var kv in vectorProperties) { - f.Key(kv.Key); f.Value(kv.Value.ToArray()); + f.Key(kv.Key); f.Serialize(kv.Value.ToArray()); } f.EndMap(); } diff --git a/UniGLTF b/UniGLTF index 7b352bf3b..a85b9699e 160000 --- a/UniGLTF +++ b/UniGLTF @@ -1 +1 @@ -Subproject commit 7b352bf3b4406f28ecc3eea91bb14935ecd4bcc3 +Subproject commit a85b9699e76fb88e279330182ae9972062a4f5d6