mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 05:48:47 -05:00
Merge pull request #2015 from ousttrue/version/update_samples
copy Samples to Samples~
This commit is contained in:
@@ -226,7 +226,10 @@ namespace VRM.SimpleViewer
|
||||
context.Parse(path, source);
|
||||
context.Load();
|
||||
m_src = context.Root.GetComponent<HumanPoseTransfer>();
|
||||
m_src.GetComponent<Renderer>().enabled = false;
|
||||
if (m_src == null)
|
||||
{
|
||||
throw new ArgumentNullException();
|
||||
}
|
||||
m_loaded?.EnableBvh(m_src);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user