Avoid BlendShape and Material overwrite. #56

This commit is contained in:
ousttrue
2018-12-27 15:18:00 +09:00
parent d5ace06825
commit e43ce3e919
2 changed files with 15 additions and 1 deletions

View File

@@ -17,6 +17,20 @@ namespace VRM
{
}
public override bool IsOverwrite(UnityEngine.Object o)
{
if(o is BlendShapeAvatar)
{
return false;
}
if(o is BlendShapeClip)
{
return false;
}
return base.IsOverwrite(o);
}
public override void Parse(string path, byte[] bytes)
{
var ext = Path.GetExtension(path).ToLower();

Submodule UniGLTF updated: 415719191b...a59f6438ec