mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-14 14:59:43 -05:00
avatar 代入の workaround
This commit is contained in:
@@ -141,17 +141,9 @@ namespace VRM.RuntimeExporterSample
|
||||
static byte[] ExportCustom(GameObject exportRoot, bool forceTPose = false)
|
||||
{
|
||||
// normalize
|
||||
var target = VRMBoneNormalizer.Execute(exportRoot, forceTPose);
|
||||
VRMBoneNormalizer.Execute(exportRoot, forceTPose);
|
||||
|
||||
try
|
||||
{
|
||||
return ExportSimple(target);
|
||||
}
|
||||
finally
|
||||
{
|
||||
// cleanup
|
||||
GameObject.Destroy(target);
|
||||
}
|
||||
return ExportSimple(exportRoot);
|
||||
}
|
||||
|
||||
void OnExported(UniGLTF.glTF vrm)
|
||||
|
||||
Reference in New Issue
Block a user