mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 12:29:23 -05:00
Merge pull request #1985 from ousttrue/fix_vrm10viewer_bvh_load
sampler の bvh load の修正
This commit is contained in:
@@ -220,7 +220,7 @@ namespace UniVRM10.VRM10Viewer
|
||||
private void LoadMotion(string source)
|
||||
{
|
||||
var context = new UniHumanoid.BvhImporterContext();
|
||||
context.Parse("tmp.bvh", source);
|
||||
context.Parse("tmp.bvh", File.ReadAllText(source));
|
||||
context.Load();
|
||||
m_src = context.Root.GetComponent<Animator>();
|
||||
m_ui.IsBvhEnabled = true;
|
||||
|
||||
Reference in New Issue
Block a user