mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-23 19:15:07 -05:00
BvhImporterContext did not create BoxMan and HumanPoseTransfer
This commit is contained in:
@@ -225,8 +225,7 @@ namespace VRM.SimpleViewer
|
||||
var context = new UniHumanoid.BvhImporterContext();
|
||||
context.Parse(path, source);
|
||||
context.Load();
|
||||
m_src = context.Root.GetComponent<HumanPoseTransfer>();
|
||||
m_src.GetComponent<Renderer>().enabled = false;
|
||||
m_src = context.Root.GetOrAddComponent<HumanPoseTransfer>();
|
||||
m_loaded?.EnableBvh(m_src);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user