mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-07 19:38:13 -05:00
Merge pull request #763 from ousttrue/fix/springbone_menu
restore SaveSpringBoneToJSON
This commit is contained in:
@@ -59,7 +59,9 @@ namespace VRM
|
||||
spring.boneGroups.Add
|
||||
);
|
||||
|
||||
// File.WriteAllText(path, spring.ToJson());
|
||||
var f = new UniJSON.JsonFormatter();
|
||||
VRM.VRMSerializer.Serialize_vrm_secondaryAnimation(f, spring);
|
||||
File.WriteAllBytes(path, f.GetStore().Bytes.ToArray());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user